void-packages/srcpkgs/ipset/template
2015-08-15 09:08:06 +00:00

32 lines
831 B
Bash

# Template file for 'ipset'
pkgname=ipset
version=6.25.1
revision=1
build_style=gnu-configure
configure_args="--with-kmod=no --sbindir=/usr/bin"
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/"
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
checksum=658e15d0d0d6a7160137ef1c2bc2c8669cfee996eb9e049df8d7313e34795e7b
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"
}
}