2015-02-10 16:20:54 +00:00
|
|
|
# Template file for 'enet'
|
|
|
|
pkgname=libenet
|
|
|
|
version=1.3.12
|
2015-02-10 19:26:36 +00:00
|
|
|
revision=2
|
2015-02-10 16:56:48 +00:00
|
|
|
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
|
2015-02-10 16:56:48 +00:00
|
|
|
|
|
|
|
libenet-devel_package() {
|
|
|
|
depends="libenet>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
2015-02-10 19:26:36 +00:00
|
|
|
vmove usr/lib/pkgconfig
|
2015-02-10 16:56:48 +00:00
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|