24 lines
720 B
Bash
24 lines
720 B
Bash
# Template file for 'libnftnl'
|
|
pkgname=libnftnl
|
|
version=1.2.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libmnl-devel"
|
|
short_desc="Low-level netlink interface to nf_tables"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.netfilter.org/projects/libnftnl/"
|
|
distfiles="https://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.xz"
|
|
checksum=9122774f968093d5c0bacddd67de480f31fa4073405a7fc058a34b0f387aecb3
|
|
|
|
libnftnl-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} $makedepends"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|