# Template file for 'libnet'
pkgname=libnet
version=1.2
revision=1
build_style=gnu-configure
short_desc="C library for portable packet creation and injection"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://github.com/sam-github/libnet"
distfiles="https://github.com/sam-github/libnet/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7

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