void-packages/srcpkgs/libenet/template

33 lines
788 B
Bash

# Template file for 'libenet'
pkgname=libenet
version=1.3.18
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Reliable UDP networking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://enet.bespin.org"
changelog="https://raw.githubusercontent.com/lsalzman/enet/master/ChangeLog"
distfiles="https://github.com/lsalzman/enet/archive/v${version}.tar.gz"
checksum=28603c895f9ed24a846478180ee72c7376b39b4bb1287b73877e5eae7d96b0dd
pre_configure() {
autoreconf -fi
}
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
}
}