void-packages/srcpkgs/libenet/template

24 lines
627 B
Bash

# Template file for 'enet'
pkgname=libenet
version=1.3.13
revision=1
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"
wrksrc="enet-${version}"
checksum=e36072021faa28731b08c15b1c3b5b91b911baf5f6abcc7fe4a6d425abada35c
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
}
}