# Template file for 'libnet'
pkgname=libnet
version=1.3
revision=1
build_style=gnu-configure
short_desc="Packet Construction and Injection"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/libnet/libnet"
changelog="https://raw.githubusercontent.com/libnet/libnet/refs/heads/master/ChangeLog.md"
distfiles="https://github.com/libnet/libnet/releases/download/v${version}/libnet-${version}.tar.gz"
checksum=ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f

libnet-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
