34 lines
865 B
Bash
34 lines
865 B
Bash
# Template file for 'libdnet'
|
|
pkgname=libdnet
|
|
version=1.14
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool autoconf pkg-config"
|
|
short_desc="Portable interface to low level networking routines"
|
|
maintainer="Carson Page <pagem.carson@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/dugsong/libdnet"
|
|
distfiles="https://github.com/dugsong/libdnet/archive/libdnet-${version}.tar.gz"
|
|
checksum=592599c54a57102a177270f3a2caabda2c2ac7768b977d7458feba97da923dfe
|
|
|
|
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"
|
|
}
|
|
}
|