void-packages/srcpkgs/ipset/template
2020-10-30 13:06:22 +01:00

33 lines
844 B
Bash

# Template file for 'ipset'
pkgname=ipset
version=7.7
revision=1
build_style=gnu-configure
configure_args="--with-kmod=no PKG_CONFIG=pkg-config"
hostmakedepends="pkg-config"
makedepends="libmnl-devel"
short_desc="Administration tool for IP sets"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://ipset.netfilter.org/"
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
checksum=45a50d581ba4d6688081e2b0328245914ba9807f8ec682c1aa619040d1316c32
libipset_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libipset-devel_package() {
depends="libipset>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}