void-packages/srcpkgs/libnet/template

23 lines
648 B
Bash

# Template file for 'libnet'
pkgname=libnet
version=1.1.6
revision=4
build_style=gnu-configure
short_desc="A C library for portable packet creation and injection"
maintainer="Orphaned <orphan@voidlinux.org>"
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"
}
}