summaryrefslogblamecommitdiff
path: root/system/libmnl/APKBUILD
blob: 9abef1f57701f8beacd42848d12a37f3a779c71b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                           

                                      
            

                                                     
                                                


                                                                                  
          


                                 
                          
                                                                                  


                                     







                                 



                  


                                      
                                                                                                                                                                  
                                                                                                                                                               
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libmnl
pkgver=1.0.5
pkgrel=0
pkgdesc="Minimalistic library for Netlink operations"
url="https://www.netfilter.org/projects/libmnl/"
arch="all"
options="!check"   # this package doesn't actually run any tests, just builds them
license="LGPL-2.0+"
depends=""
depends_dev="linux-headers"
makedepends="$depends_dev"
checkdepends="bsd-compat-headers"
subpackages="$pkgname-dev"
source="https://www.netfilter.org/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2
	test-include-sysselect.patch"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="16fa48e74c9da7724a85c655dfb0abd8369392627934639d65de951543e1447ac3e048d231248f1ce8861443c2ef62654a85a81feeedbbffaf2e5744f6cf4c9f  libmnl-1.0.5.tar.bz2
9735fa46eacdf4c0c1ae888ef0453216614d0204800383767a0c567dc9557d743a28ec17203d3bc5c0f8c1573dd7c29026ec17393d07fd2af5c38d1e34d8071c  test-include-sysselect.patch"