void-packages/srcpkgs/ipset/template
Nathan Owens da1b182ed1
ipset: update to 7.1
closes #7389

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
2019-01-18 21:32:58 -02:00

33 lines
854 B
Bash

# Template file for 'ipset'
pkgname=ipset
version=7.1
revision=1
build_style=gnu-configure
configure_args="--with-kmod=no PKG_CONFIG=pkg-config"
hostmakedepends="pkg-config"
makedepends="libmnl-devel"
short_desc="Administration tool for IP sets"
maintainer="beefcurtains <beefcurtains@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://ipset.netfilter.org/"
distfiles="${homepage}${pkgname}-${version}.tar.bz2"
checksum=7b5eb3b93205c20cdc39e3fc8b6e5f7bb214bf79a7c0c00729dd4a31ce16adc4
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"
vmove usr/share/man/man3
}
}