void-packages/srcpkgs/libenet/template
2019-01-28 14:30:06 -02:00

27 lines
668 B
Bash

# Template file for 'libenet'
pkgname=libenet
version=1.3.14
revision=1
wrksrc="enet-${version}"
build_style=gnu-configure
short_desc="Reliable UDP networking library"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
license="MIT"
homepage="http://enet.bespin.org"
distfiles="http://enet.bespin.org/download/enet-${version}.tar.gz"
checksum=98f6f57aab0a424469619ed3047728f0d3901ce8f0dea919c11e7966d807e870
post_install() {
vlicense LICENSE
}
libenet-devel_package() {
depends="libenet>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/include
}
}