void-packages/srcpkgs/libenet/template

28 lines
720 B
Bash

# Template file for 'libenet'
pkgname=libenet
version=1.3.17
revision=1
build_style=gnu-configure
short_desc="Reliable UDP networking library"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
license="MIT"
homepage="http://enet.bespin.org"
changelog="https://raw.githubusercontent.com/lsalzman/enet/master/ChangeLog"
distfiles="http://enet.bespin.org/download/enet-${version}.tar.gz"
checksum=a38f0f194555d558533b8b15c0c478e946310022d0ec7b34334e19e4574dcedc
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
}
}