2018-04-05 23:06:54 +02:00
|
|
|
VERSION="3.3.13"
|
2018-02-09 00:04:10 +01:00
|
|
|
SRCDIR="procps-ng-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.xz"
|
|
|
|
URL="https://sourceforge.net/projects/procps-ng/files/Production"
|
2018-04-05 23:06:54 +02:00
|
|
|
SHA256SUM="52b05b2bd5b05f46f24766a10474337ebadd828df9915e2b178df291cf88f7d3"
|
2018-02-09 00:04:10 +01:00
|
|
|
DEPENDS="ncurses"
|
|
|
|
|
|
|
|
prepare() {
|
2018-02-09 18:49:17 +01:00
|
|
|
apply_patches
|
2018-02-09 00:04:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
|
|
ac_cv_func_realloc_0_nonnull=yes \
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/configure --prefix="" --host="$TARGET" --disable-static \
|
|
|
|
--enable-watch8bit --with-ncurses --without-systemd \
|
2018-04-05 23:06:54 +02:00
|
|
|
--disable-kill --disable-numa --sbindir=/bin
|
2018-02-09 00:04:10 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
|
|
|
local DEVDEPLOY="$3"
|
2018-02-09 00:04:10 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
|
|
|
|
|
|
rm -r "$DEPLOY/share"
|
2018-02-10 01:57:53 +01:00
|
|
|
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
2018-02-09 00:04:10 +01:00
|
|
|
}
|