smlinux/base/libcap/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

41 lines
1.1 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libcap
version=2.67
build=1sml
homepage="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/"
download="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.xz"
desc="library to get/set POSIX capabilities"
requires="musl"
preservestaticlibs=1
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
#sed -i 's,BUILD_GPERF := ,BUILD_GPERF := no #,' Make.Rules
#cp $srcdir/libcap2-cap_names.h libcap/cap_names.h
#touch libcap/cap_names.list.h libcap/_makenames libcap/cap_names.h
}
build() {
make prefix=/usr man_prefix=/usr/share/man lib=lib CFLAGS="$CFLAGS" \
BUILD_CC="$CC"
make FAKEROOT=$pkg prefix=/usr man_prefix=/usr/share/man SBINDIR=/usr/bin lib=lib install
LIBDIR=$pkg/lib
SBINDIR=$pkg/bin
cp License $pkgdocs/
mkfinalpkg
}
sha512sums="
f5874540006c2a00e77bcaf55ac5f0c111f710a779e9bdbe8e4c165e729eb8709841819d6540cc86719d3246a9b8d44e3e035fcc1961378afd16fdbb3f47603c libcap-2.67.tar.lz
"