summaryrefslogtreecommitdiffstats
path: root/base/sysvinit/Pkgfile
blob: 1c12f14f54b14b2ec0d1a2e5349cd8a2428da909 (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.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
}