2018-05-25 11:49:19 +02:00
|
|
|
VERSION="3.3.15"
|
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-05-25 11:49:19 +02:00
|
|
|
SHA256SUM="10bd744ffcb3de2d591d2f6acf1a54a7ba070fdcc432a855931a5057149f0465"
|
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() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1" --enable-watch8bit --with-ncurses \
|
|
|
|
--without-systemd --disable-kill --disable-numa
|
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"
|
2018-02-09 00:04:10 +01:00
|
|
|
|
2018-06-17 16:08:11 +02:00
|
|
|
make DESTDIR="$DEPLOY" install
|
2018-06-16 17:46:17 +02:00
|
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
2018-02-09 00:04:10 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L "$URL" | grep -o ">procps-ng-[0-9.]*tar.xz<" | \
|
|
|
|
sed 's/>procps-ng-//g' | sed 's/.tar.xz<//g' |\
|
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|