void-packages/srcpkgs/libenet/template

25 lines
629 B
Bash
Raw Normal View History

2015-02-10 16:20:54 +00:00
# Template file for 'enet'
pkgname=libenet
version=1.3.12
revision=2
build_style=gnu-configure
2015-02-10 16:20:54 +00:00
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"
wrksrc="enet-${version}"
checksum=a5851cbd0dde2ddb47bca487a61976825159cb508ece3b1e34605420ac7e1d0b
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
}
}