diff --git a/srcpkgs/ipset/template b/srcpkgs/ipset/template new file mode 100644 index 00000000000..09dbe78b7d3 --- /dev/null +++ b/srcpkgs/ipset/template @@ -0,0 +1,32 @@ +# Template file for 'ipset' +pkgname=ipset +version=6.24 +revision=1 +build_style=gnu-configure +configure_args="--with-kmod=no" +hostmakedepends="pkg-config" +makedepends="libmnl-devel" +short_desc="Administration tool for IP sets" +maintainer="beefcurtains " +license="GPL-2" +homepage="http://ipset.netfilter.org/" +distfiles="${homepage}ipset-6.24.tar.bz2" +checksum=3071fc283f00a6472b5b352ef57f9825c9face70dda5b0d8715f8d43d0e995d0 + +libipset_package() { + short_desc+=" - library files" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libipset-devel_package() { + depends="lib${pkgname}>=${version}_${revision} ${makedepends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/libipset b/srcpkgs/libipset new file mode 120000 index 00000000000..981353b36d5 --- /dev/null +++ b/srcpkgs/libipset @@ -0,0 +1 @@ +ipset \ No newline at end of file diff --git a/srcpkgs/libipset-devel b/srcpkgs/libipset-devel new file mode 120000 index 00000000000..981353b36d5 --- /dev/null +++ b/srcpkgs/libipset-devel @@ -0,0 +1 @@ +ipset \ No newline at end of file