void-packages/srcpkgs/plib/template
2015-01-15 11:17:35 +00:00

27 lines
750 B
Bash

# Template build file for 'plib'
pkgname=plib
version=1.8.5
revision=3
build_style=gnu-configure
configure_args="--enable-shared --disable-static"
short_desc="Suite of Portable Game Libraries"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL-2"
homepage="http://plib.sourceforge.net"
distfiles="http://plib.sourceforge.net/dist/plib-1.8.5.tar.gz"
makedepends="MesaLib-devel libX11-devel libXi-devel libXmu-devel"
hostmakedepends="autoconf automake libtool"
checksum=485b22bf6fdc0da067e34ead5e26f002b76326f6371e2ae006415dea6a380a32
pre_configure() {
autoreconf -fi
}
plib-devel_package() {
depends="plib>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}