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"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="ncurses-dev crt-dev"
|
|
|
|
SUBPKG="procps-ng procps-ng-dev"
|
2018-02-09 00:04:10 +01:00
|
|
|
|
|
|
|
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() {
|
2019-03-06 10:03:12 +01:00
|
|
|
make DESTDIR="$PKGDEPLOYDIR" install
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
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"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|