summaryrefslogtreecommitdiffstats
path: root/sysvinit/Pkgfile
blob: 232a4d4cccf1bc272834f671ac388a98ca1ed415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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.88dsf
release=1
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
}