1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-20 12:36:14 +02:00
build/pkg/procps-ng/build
David Oberhollenzer fa4eff263b Cleanup: implement defaults for package functions
This commit adds an "emptypackage" template that implements defaults
for all package functions and is included before every package.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00

24 lines
606 B
Plaintext
Executable file

VERSION="3.3.16"
SRCDIR="procps-ng-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://sourceforge.net/projects/procps-ng/files/Production"
SHA256SUM="925eacd65dedcf9c98eb94e8978bbfb63f5de37294cc1047d81462ed477a20af"
DEPENDS="ncurses-dev toolchain"
SUBPKG="procps-ng procps-ng-dev"
build() {
run_configure "$1" --enable-watch8bit --with-ncurses \
--without-systemd --disable-kill --disable-numa
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "procps-ng" "tar.xz"
}