summaryrefslogtreecommitdiffstats
path: root/sysvinit/Pkgfile
diff options
context:
space:
mode:
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
}