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 (571B)


      1 # Description: A Linux kernel packet filter control tool
      2 # URL: https://www.iptables.org/
      3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com
      4 # Depends on: nftables
      5 
      6 name=iptables
      7 version=1.8.11
      8 release=1
      9 source=(https://www.netfilter.org/projects/$name/files/$name-$version.tar.xz
     10 	musl-fix-headers.patch)
     11 
     12 build () {
     13     cd $name-$version
     14 
     15     patch -Np1 -i ../musl-fix-headers.patch
     16 
     17     ./configure \
     18         --prefix=/usr \
     19         --libexecdir=/usr/lib \
     20         --enable-libipq \
     21         --enable-nftables
     22 
     23     make
     24     make DESTDIR=$PKG install
     25 }