procps-ng: add systemd build option (disabled by default).
This commit is contained in:
parent
13feff9e0f
commit
dfad88784f
1 changed files with 14 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'procps-ng'
|
# Template file for 'procps-ng'
|
||||||
pkgname=procps-ng
|
pkgname=procps-ng
|
||||||
version=3.3.9
|
version=3.3.9
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin
|
||||||
--libdir=/usr/lib --disable-static --with-systemd"
|
--libdir=/usr/lib --disable-static"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="ncurses-devel systemd-devel"
|
makedepends="ncurses-devel"
|
||||||
conflicts="coreutils<8.21_3"
|
conflicts="coreutils<8.21_3"
|
||||||
short_desc="Utilities for monitoring your system and its processes"
|
short_desc="Utilities for monitoring your system and its processes"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -15,6 +15,17 @@ homepage="http://gitorious.org/procps"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/Production/${pkgname}-${version}.tar.xz"
|
||||||
checksum=00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663
|
checksum=00f0cb0fadf968ddf605b0ef119846af07386629244d4f3da711a2cecf4e8663
|
||||||
|
|
||||||
|
# Package build options
|
||||||
|
build_options="systemd"
|
||||||
|
desc_option_systemd="Enable support for systemd login"
|
||||||
|
|
||||||
|
if [ "$build_option_systemd" ]; then
|
||||||
|
configure_args+=" --with-systemd"
|
||||||
|
makedepends+=" systemd-devel"
|
||||||
|
else
|
||||||
|
configure_args+=" --without-systemd"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# provided by util-linux
|
# provided by util-linux
|
||||||
rm ${DESTDIR}/usr/bin/kill
|
rm ${DESTDIR}/usr/bin/kill
|
||||||
|
|
Loading…
Add table
Reference in a new issue