2013-09-22 07:10:29 +00:00
|
|
|
# Template file for 'libnet'
|
|
|
|
pkgname=libnet
|
|
|
|
version=1.1.6
|
2014-02-20 17:16:15 +00:00
|
|
|
revision=2
|
2013-09-22 07:10:29 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|