crux-musl

Unnamed repository; edit this file 'description' to name the repository.
git clone https://codeberg.org/emmett1/crux-musl
Log | Files | Refs | README | LICENSE

Pkgfile (556B)


      1 # Description: POSIX.1e capabilities library
      2 # URL: https://sites.google.com/site/fullycapable/
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 # Depends on: linux-pam
      5 
      6 name=libcap
      7 version=2.76
      8 release=1
      9 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$name-$version.tar.xz)
     10 
     11 build() {
     12     cd $name-$version
     13 
     14     sed "/^CFLAGS/s/-O2/$CFLAGS/" -i Make.Rules
     15 
     16     make prefix=/usr lib=lib install \
     17         GOLANG=no \
     18         RAISE_SETFCAP=no \
     19         PKGCONFIGDIR=/usr/lib/pkgconfig \
     20         DESTDIR=$PKG
     21 }