void-packages/srcpkgs/ipset/template

33 lines
839 B
Bash
Raw Normal View History

2015-05-21 18:06:56 +02:00
# Template file for 'ipset'
pkgname=ipset
2016-03-16 13:48:58 +01:00
version=6.29
2015-08-15 11:08:06 +02:00
revision=1
2015-05-21 18:06:56 +02:00
build_style=gnu-configure
2016-03-13 17:46:41 +01:00
configure_args="--with-kmod=no --sbindir=/usr/bin PKG_CONFIG=pkg-config"
2015-05-21 18:06:56 +02:00
hostmakedepends="pkg-config"
makedepends="libmnl-devel"
short_desc="Administration tool for IP sets"
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
2015-05-21 18:06:56 +02:00
license="GPL-2"
homepage="http://ipset.netfilter.org/"
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
2016-03-16 13:48:58 +01:00
checksum=6af58b21c8b475b1058e02529ea9f15b4b727dbc13dc9cbddf89941b0103880e
2015-05-21 18:06:56 +02:00
libipset_package() {
short_desc+=" - library files"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libipset-devel_package() {
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"
}
}