New package: libnet-1.1.6.

This commit is contained in:
Juan RP 2013-09-22 09:10:29 +02:00
parent 891d5eae53
commit 9b2a90ca3a
3 changed files with 38 additions and 0 deletions

View File

@ -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

1
srcpkgs/libnet-devel Symbolic link
View File

@ -0,0 +1 @@
libnet

36
srcpkgs/libnet/template Normal file
View File

@ -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 <xtraeme@gmail.com>"
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
}
}