summaryrefslogtreecommitdiffstats
path: root/sysvinit/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-04 16:53:26 +0100
committerpiernov <piernov@piernov.org>2012-02-04 16:53:26 +0100
commit4c3e3d89395b768025745869fe142e78812709c3 (patch)
tree2ea168034214e9c009b2a1de6cee5e019225f09f /sysvinit/Pkgfile
parent7defe16a744cf34b59744421902b81c6a13f88a8 (diff)
downloadnutyx-pakxe-4c3e3d89395b768025745869fe142e78812709c3.tar.gz
nutyx-pakxe-4c3e3d89395b768025745869fe142e78812709c3.tar.bz2
nutyx-pakxe-4c3e3d89395b768025745869fe142e78812709c3.tar.xz
nutyx-pakxe-4c3e3d89395b768025745869fe142e78812709c3.zip
sysvinit 2.88dsf-2 correction port
Diffstat (limited to 'sysvinit/Pkgfile')
-rwxr-xr-xsysvinit/Pkgfile17
1 files changed, 9 insertions, 8 deletions
diff --git a/sysvinit/Pkgfile b/sysvinit/Pkgfile
index 232a4d4cc..6c9070a2a 100755
--- a/sysvinit/Pkgfile
+++ b/sysvinit/Pkgfile
@@ -6,17 +6,18 @@
name=sysvinit
version=2.88dsf
-release=1
+release=2
source=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$version.tar.bz2)
build() {
cd $name-$version
-sed -i 's@Sending processes@& configured via /etc/inittab@g' \
- src/init.c
-sed -i -e 's/utmpdump wall/utmpdump/' \
- -e 's/mountpoint.1 wall.1/mountpoint.1/' src/Makefile
-make -C src
-mkdir -p $PKG/{sbin,bin,usr/{bin,include,share/man/man{1,5,8}}}
-make -C src ROOT=$PKG install
+ sed -i 's@Sending processes@& configured via /etc/inittab@g' src/init.c
+ sed -i -e 's/utmpdump wall/utmpdump/' src/Makefile
+ make
+ make ROOT=$PKG install
+
+ # mountpoint fournis par util-linux
+ rm $PKG/bin/mountpoint
+ rm $PKG/usr/share/man/man1/mountpoint.1
}