procps-ng: install uptime(1) and conflict with old coreutils.
This commit is contained in:
parent
74298f87a6
commit
9d1c88c745
2 changed files with 6 additions and 4 deletions
srcpkgs/procps-ng
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'procps-ng'
|
# Template file for 'procps-ng'
|
||||||
pkgname=procps-ng
|
pkgname=procps-ng
|
||||||
version=3.3.5
|
version=3.3.5
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="procps-procps"
|
wrksrc="procps-procps"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--exec-prefix=/ --prefix=/usr --libdir=/usr/lib --disable-static"
|
configure_args="--exec-prefix=/ --prefix=/usr --libdir=/usr/lib --disable-static"
|
||||||
|
@ -14,6 +14,9 @@ checksum=d3ac6611af888ef8e4f32f4b60718af77d32d8e3abe07f63d985b3abca332d53
|
||||||
|
|
||||||
conf_files="/etc/sysctl.conf"
|
conf_files="/etc/sysctl.conf"
|
||||||
replaces="procps>=0"
|
replaces="procps>=0"
|
||||||
|
provides="procps-${version}"
|
||||||
|
conflicts="coreutils<8.21_3"
|
||||||
|
|
||||||
makedepends="automake gettext-devel pkg-config ncurses-devel"
|
makedepends="automake gettext-devel pkg-config ncurses-devel"
|
||||||
crossmakedepends="ncurses-devel"
|
crossmakedepends="ncurses-devel"
|
||||||
|
|
||||||
|
@ -30,10 +33,9 @@ pre_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/sysctl.conf 644 etc
|
vinstall ${FILESDIR}/sysctl.conf 644 etc
|
||||||
|
|
||||||
# provided by coreutils
|
# provided by util-linux
|
||||||
rm ${DESTDIR}/bin/kill
|
rm ${DESTDIR}/bin/kill
|
||||||
rm ${DESTDIR}/usr/bin/uptime
|
rm ${DESTDIR}/usr/share/man/man1/kill.1
|
||||||
rm ${DESTDIR}/usr/share/man/man1/{uptime,kill}.1
|
|
||||||
|
|
||||||
vmove "bin/*" usr/bin
|
vmove "bin/*" usr/bin
|
||||||
vmkdir usr/sbin
|
vmkdir usr/sbin
|
||||||
|
|
Loading…
Reference in a new issue