void-packages/srcpkgs/plib/template
Jürgen Buchmüller 1b53786d2f plib: unbreak musl
2015-10-31 15:48:18 +01:00

27 lines
760 B
Bash

# Template build file for 'plib'
pkgname=plib
version=1.8.5
revision=4
build_style=gnu-configure
configure_args="--enable-shared --disable-static"
short_desc="Suite of Portable Game Libraries"
maintainer="Enno Boland <gottox@voidlinux.eu>"
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"
}
}