smlinux/base/procps-ng/procps-ng.SMBuild
PktSurf 03da9ec93f Discarded '--disable-nls' and similar build options in several build files to allow building of translation files
Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files
Updated net/cgit tarball checksum
Switched to cmake build system in net/weechat
Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh
Fixed hardcoded doc directory name in xorg/jasper
2023-04-01 10:28:44 +05:30

56 lines
1.4 KiB
Text
Executable file

app=procps-ng
version=3.3.12
build=2sml
psmiscversion=23.3
homepage="http://sourceforge.net/projects/procps-ng/"
desc="Utilities for displaying process information"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
(
tar xf $srcdir/psmisc-$psmiscversion.tar.?z*
cd psmisc-$psmiscversion
fixbuilddirpermissions
)
applypatch $srcdir/procps-ng-netbsd-curses.patch
}
build() {
CPPFLAGS="$CFLAGS -DGLOB_TILDE=0 -DAF_INET6=10 -DAF_INET=2" \
./configure \
--prefix="" \
--bindir=/bin \
--sbindir=/bin
make V=1 LDFLAGS="-all-static"
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
cd psmisc-$psmiscversion
LDFLAGS="-static" \
./configure \
--prefix=""
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/COPYING.psmisc
mkfinalpkg
}
sha512sums="
2fcdd0773d980f54b18146086beb24a4b3e44e495a5d3fdaf0b5239b6b555cc330d326eab048cc8439162490d03d426c6dfdf27539d3aebd76a2c7e150db8a7f procps-ng-3.3.12.tar.lz
791ffef78d87b092d653da98710b338017466a9e1e1935968b9f0194ccef8da941317aa0c39d821d46b20d95d6539ccf78e5ebb71ad1032ae62337a397180d58 psmisc-23.3.tar.xz
f33f577194c5699d0f4d57f4f8dfbdb8ef1373368d3ac6d5d3207e59ff044273bcef9421f1f67bf2f372fdd96fdf1c80d228a0b41d001c08f5544237897c4d26 procps-ng-netbsd-curses.patch
"