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