aboutsummaryrefslogblamecommitdiffstats
path: root/main/libnfnetlink/APKBUILD
blob: 7a4983b6d0cdae2602a64b497684895f74d9b337 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    

            

                                                                                
          
               
          











                                                                                          



                                     

                                                  
 
                                                                      
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnfnetlink
pkgver=1.0.1
pkgrel=0
pkgdesc="low-level library for netfilter related kernel/userspace communication"
url="http://www.netfilter.org/projects/libnfnetlink/"
arch="all"
license="GPL-2"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-$pkgver.tar.bz2"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="98927583d2016a9fb1936fed992e2c5e  libnfnetlink-1.0.1.tar.bz2"