2008-11-22 13:25:52 +01:00
|
|
|
# Template file for 'initng'
|
|
|
|
pkgname=initng
|
|
|
|
version=0.6.10.2
|
|
|
|
distfiles="http://download.initng.org/initng/v0.6/initng-0.6.10.2.tar.bz2"
|
|
|
|
build_style=configure
|
|
|
|
configure_script="cmake"
|
2008-12-16 06:13:54 +01:00
|
|
|
configure_args="-DINSTALL_AS_INIT=1 -DSERVICE_CACHE=1
|
2008-11-22 13:25:52 +01:00
|
|
|
-DSYSCONF_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/etc
|
|
|
|
-DSBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin
|
|
|
|
-DLIB_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/lib
|
|
|
|
-DINCLUDE_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/include
|
|
|
|
-DDATA_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/share
|
|
|
|
-DBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/bin ."
|
|
|
|
short_desc="The next generation init system"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=5b823f926b19affe2356278986f26d60113c469b3a35783621ae538d3aec1e44
|
|
|
|
long_desc="
|
|
|
|
Initng is a full replacement of the old and in many ways deprecated
|
|
|
|
sysvinit tool. It is designed to significantly increase the booting
|
|
|
|
speed of a unix-like operating system by starting processes
|
|
|
|
asynchronously."
|
|
|
|
|
2008-12-16 06:13:54 +01:00
|
|
|
conf_files="/etc/initng/killall5-ignore"
|
2008-11-22 13:25:52 +01:00
|
|
|
build_depends="cmake-2.6.2"
|
2009-01-27 13:35:26 +01:00
|
|
|
run_depends="glibc-2.8 bash-3.2"
|
2008-12-16 06:13:54 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Make /sbin/initng -> /sbin/init link.
|
2009-03-11 06:31:56 +01:00
|
|
|
cd $DESTDIR/sbin && ln -sf initng init
|
2008-12-16 06:13:54 +01:00
|
|
|
# Fix /bin/pidof link.
|
2009-03-11 06:31:56 +01:00
|
|
|
rm -v $DESTDIR/bin/pidof
|
|
|
|
cd $DESTDIR/bin && ln -sf ../sbin/killalli5 pidof
|
2008-12-16 06:13:54 +01:00
|
|
|
}
|