# Depends on:
name=sysvinit
-version=2.88
-release=4
-source=(http://download.savannah.gnu.org/releases/$name/$name-${version}dsf.tar.bz2)
+version=2.89
+release=1
+source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.bz2)
build() {
- cd $name-${version}dsf
- make -C src CC="$CC"
- make -C src ROOT=$PKG install
-
+ cd $name-$version
+ make CC="$CC"
+ make ROOT=$PKG install
+
# Provided by util-linux
- rm $PKG/{bin/mountpoint,usr/bin/utmpdump}
- rm $PKG/usr/share/man/man1/{mountpoint,utmpdump}.1
- rm $PKG/usr/bin/{last,lastb,mesg,wall}
- rm $PKG/usr/share/man/man1/{last,lastb,mesg,wall}.1
+ rm $PKG/usr/bin/{last,lastb,mesg,utmpdump,wall}
+ rm $PKG/usr/share/man/man1/{last,lastb,mesg,utmpdump,wall}.1
rmdir $PKG/usr/bin
# Provided by procps
install -d $PKG/var/log
touch $PKG/var/log/wtmp
touch $PKG/var/log/btmp
- chmod 0600 $PKG/var/log/btmp
+ chmod 0600 $PKG/var/log/btmp
}