35 lines
913 B
Bash
35 lines
913 B
Bash
# Template file for 'ipset'
|
|
pkgname=ipset
|
|
version=7.19
|
|
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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://ipset.netfilter.org/"
|
|
changelog="https://ipset.netfilter.org/changelog.html"
|
|
distfiles="https://ipset.netfilter.org/ipset-${version}.tar.bz2"
|
|
checksum=9bc1fba48d65786e3e0b63dc6b669a866823d77840c6990c0c6b23078ec2c4d6
|
|
|
|
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
|
|
}
|
|
}
|