void-packages/srcpkgs/allegro5/template

32 lines
997 B
Bash
Raw Normal View History

2016-03-03 03:06:18 +01:00
# Template file for 'allegro5'.
pkgname=allegro5
2016-04-29 07:29:12 +02:00
version=5.2.0
2016-03-03 03:06:18 +01:00
revision=1
2016-04-29 07:29:12 +02:00
wrksrc="allegro-${version}.0"
2016-03-03 03:06:18 +01:00
build_style=cmake
configure_args="-DWANT_DOCS=OFF -DWANT_PHYSFS=ON"
hostmakedepends="pkg-config cmake"
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel"
depends="libGL"
short_desc="Portable library mainly aimed at video game and multimedia programming"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Allegro License (MIT alike)"
homepage="http://alleg.sourceforge.net/"
distfiles="http://download.gna.org/allegro/allegro/${version}/allegro-${version}.tar.gz"
2016-04-29 07:29:12 +02:00
checksum=af5a69cd423d05189e92952633f9c0dd0ff3a061d91fbce62fb32c4bd87f9fd7
2016-03-03 03:06:18 +01:00
post_install() {
vlicense LICENSE.txt
}
allegro5-devel_package() {
short_desc+=" - development files"
depends="${makedepends}=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}