smlinux/base/procps-ng/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +05:30

57 lines
1.4 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
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"
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=/usr \
--sbindir=/usr/bin \
--disable-nls
make V=1 LDFLAGS="-all-static"
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
cd psmisc-$psmiscversion
LDFLAGS="-static" \
./configure \
--prefix=/usr
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
"