summaryrefslogtreecommitdiffstats
path: root/base/sysvinit/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:14:02 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:14:02 +0200
commitd52ca1c7ced65fcb7cb0e1a2309a8047a506df10 (patch)
tree62a1ec372046b9b87ba9c5c7478addc7de3928a8 /base/sysvinit/Pkgfile
parentf614f9450cc1a28874ff8612726fd066a6c93bac (diff)
downloadnutyx-extra-d52ca1c7ced65fcb7cb0e1a2309a8047a506df10.tar.gz
nutyx-extra-d52ca1c7ced65fcb7cb0e1a2309a8047a506df10.tar.bz2
nutyx-extra-d52ca1c7ced65fcb7cb0e1a2309a8047a506df10.tar.xz
nutyx-extra-d52ca1c7ced65fcb7cb0e1a2309a8047a506df10.zip
Ajout de sysvinit#2.86-2
Diffstat (limited to 'base/sysvinit/Pkgfile')
-rwxr-xr-xbase/sysvinit/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/base/sysvinit/Pkgfile b/base/sysvinit/Pkgfile
new file mode 100755
index 000000000..1c12f14f5
--- /dev/null
+++ b/base/sysvinit/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Le système d'initialisation du système V de Linux
+# URL: ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=sysvinit
+version=2.86
+release=2
+source=(ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/$name-$version.tar.gz)
+
+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
+}