# Template file for 'libdnet' pkgname=libdnet version=1.18.0 revision=1 build_style=gnu-configure hostmakedepends="automake libtool autoconf pkg-config" makedepends="check-devel" short_desc="Portable interface to low level networking routines" maintainer="Carson Page " license="BSD-3-Clause" homepage="https://github.com/dugsong/libdnet" distfiles="https://github.com/dugsong/libdnet/archive/libdnet-${version}.tar.gz" checksum=a4a82275c7d83b85b1daac6ebac9461352731922161f1dcdcccd46c318f583c9 pre_configure() { autoreconf -I config --force --install } post_install() { vlicense LICENSE } libdnet-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/bin/dnet-config vmove usr/share/man/man3 vmove usr/include vmove "usr/lib/*.a" vmove "usr/lib/*.la" vmove "usr/lib/*.so" } }