diff --git a/common/shlibs b/common/shlibs index 37aa96fa7f9..9dbb3c89944 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1408,3 +1408,4 @@ libCHART-1.6.so.0 fox-1.6.49_1 libchromaprint.so.0 chromaprint-0.7_1 libglamor.so.0 glamor-egl-0.5.1_1 libedit.so.0 libedit-20130712.3.1_1 +libnet.so.1 libnet-1.1.6_1 diff --git a/srcpkgs/libnet-devel b/srcpkgs/libnet-devel new file mode 120000 index 00000000000..1f05e0bec70 --- /dev/null +++ b/srcpkgs/libnet-devel @@ -0,0 +1 @@ +libnet \ No newline at end of file diff --git a/srcpkgs/libnet/template b/srcpkgs/libnet/template new file mode 100644 index 00000000000..67d8be2ba5c --- /dev/null +++ b/srcpkgs/libnet/template @@ -0,0 +1,36 @@ +# Template file for 'libnet' +pkgname=libnet +version=1.1.6 +revision=1 +build_style=gnu-configure +short_desc="A C library for portable packet creation and injection" +maintainer="Juan RP " +license="GPL-3" +homepage="https://github.com/sam-github/libnet" +distfiles="${SOURCEFORGE_SITE}/${pkgname}-dev/$pkgname-$version.tar.gz" +checksum=d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a +long_desc=" + Libnet is an API to help with the construction and handling of network + packets. It provides a portable framework for low-level network + packet writing and handling (use libnet in conjunction with libpcap and + you can write some really cool stuff). Libnet includes packet creation + at the IP layer and at the link layer as well as a host of supplementary + and complementary functionality." + +libnet-devel_package() { + depends="${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/bin + vmove usr/include + vmove usr/share + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} + +libnet_package() { + pkg_install() { + vmove all + } +}