mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
initng: fix /bin/pidof and installation.
--HG-- extra : convert_revision : 32553e4dffb78d3a922dd25790cefcdde1c0651d
This commit is contained in:
parent
f036a85acb
commit
a127aa48e6
1 changed files with 13 additions and 1 deletions
|
@ -4,7 +4,7 @@ version=0.6.10.2
|
||||||
distfiles="http://download.initng.org/initng/v0.6/initng-0.6.10.2.tar.bz2"
|
distfiles="http://download.initng.org/initng/v0.6/initng-0.6.10.2.tar.bz2"
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_script="cmake"
|
configure_script="cmake"
|
||||||
configure_args="-DINSTALL_AS_INIT=ON
|
configure_args="-DINSTALL_AS_INIT=1 -DSERVICE_CACHE=1
|
||||||
-DSYSCONF_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/etc
|
-DSYSCONF_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/etc
|
||||||
-DSBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin
|
-DSBIN_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/sbin
|
||||||
-DLIB_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/lib
|
-DLIB_INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/lib
|
||||||
|
@ -20,5 +20,17 @@ long_desc="
|
||||||
speed of a unix-like operating system by starting processes
|
speed of a unix-like operating system by starting processes
|
||||||
asynchronously."
|
asynchronously."
|
||||||
|
|
||||||
|
conf_files="/etc/initng/killall5-ignore"
|
||||||
build_depends="cmake-2.6.2"
|
build_depends="cmake-2.6.2"
|
||||||
run_depends="glibc-2.8"
|
run_depends="glibc-2.8"
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
local destdir=$XBPS_DESTDIR/$pkgname-$version
|
||||||
|
|
||||||
|
# Make /sbin/initng -> /sbin/init link.
|
||||||
|
ln -sv $destdir/sbin/initng $destdir/sbin/init
|
||||||
|
# Fix /bin/pidof link.
|
||||||
|
rm -v $destdir/bin/pidof
|
||||||
|
cd $destdir/bin && ln -sf ../sbin/killalli5 pidof
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue