APP=libnetfilter_conntrack
VERSION=1.0.7
BUILD=1sml
HOMEPAGE='https://www.netfilter.org/projects/libnetfilter_conntrack/index.html'
DESC="library for in-kernel connection tracking used by iptables and others"
REQUIRES="libmnl libnfnetlink"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
4697faa3ff0caae7ba13908d1805d6ce0c4e577a2c18407eca6b82550923fd8c675abac638489124ab72f2a1a27e7bbe0330ca603f7a889dc4a582f5e12dd784  libnetfilter_conntrack-1.0.7.tar.lz
"
