void-packages/srcpkgs/plib/template

27 lines
771 B
Bash

# Template file for 'plib'
pkgname=plib
version=1.8.5
revision=6
configure_args="--enable-shared --disable-static"
build_style=gnu-configure
hostmakedepends="autoconf automake libtool"
makedepends="MesaLib-devel libX11-devel libXi-devel libXmu-devel"
short_desc="Suite of Portable Game Libraries"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://plib.sourceforge.net"
distfiles="http://plib.sourceforge.net/dist/plib-${version}.tar.gz"
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"
}
}