void-packages/srcpkgs/libnet/template

37 lines
1.1 KiB
Plaintext

# 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
}
}