32 lines
839 B
Bash
32 lines
839 B
Bash
# Template file for 'ipset'
|
|
pkgname=ipset
|
|
version=6.36
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-kmod=no --sbindir=/usr/bin PKG_CONFIG=pkg-config"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libmnl-devel"
|
|
short_desc="Administration tool for IP sets"
|
|
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://ipset.netfilter.org/"
|
|
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
|
|
checksum=22224a90dc6c7d97b7a7addedd0740c3841e3d9a7ff8c8d2123bae0c3620d30d
|
|
|
|
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"
|
|
}
|
|
}
|