* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
52 lines
1.3 KiB
Text
Executable file
52 lines
1.3 KiB
Text
Executable file
app=procps-ng
|
|
version=3.3.12
|
|
build=1sml
|
|
psmiscversion=23.3
|
|
homepage='http://sourceforge.net/projects/procps-ng/'
|
|
desc="utilities for displaying process information"
|
|
requires="musl"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/procps-ng-netbsd-curses.patch
|
|
|
|
STRIP=false \
|
|
CPPFLAGS="$CFLAGS -DGLOB_TILDE=0 -DAF_INET6=10 -DAF_INET=2" \
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--bindir=/bin \
|
|
--sbindir=/bin \
|
|
--disable-nls
|
|
|
|
make V=1 LDFLAGS="-all-static"
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING* $pkgdocs/
|
|
|
|
tar xf $srcdir/psmisc-$psmiscversion.tar.?z*
|
|
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
|
|
"
|