2015-05-21 16:06:56 +00:00
|
|
|
# Template file for 'ipset'
|
|
|
|
pkgname=ipset
|
2015-08-28 15:06:30 +00:00
|
|
|
version=6.26
|
2015-08-15 09:08:06 +00:00
|
|
|
revision=1
|
2015-05-21 16:06:56 +00:00
|
|
|
build_style=gnu-configure
|
2015-05-22 01:57:21 +00:00
|
|
|
configure_args="--with-kmod=no --sbindir=/usr/bin"
|
2015-05-21 16:06:56 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libmnl-devel"
|
|
|
|
short_desc="Administration tool for IP sets"
|
2015-08-28 15:06:30 +00:00
|
|
|
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
2015-05-21 16:06:56 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://ipset.netfilter.org/"
|
2015-05-22 00:38:42 +00:00
|
|
|
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
|
2015-08-28 15:06:30 +00:00
|
|
|
checksum=7626a18e8a61e099af7d508e6bd71e5f8c5e77f4f1e347534935f1b85c787a51
|
2015-05-21 16:06:56 +00:00
|
|
|
|
|
|
|
libipset_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libipset-devel_package() {
|
2015-05-28 07:23:33 +00:00
|
|
|
depends="libipset>=${version}_${revision} ${makedepends}"
|
2015-05-21 16:06:56 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|