2013-07-03 13:31:21 +00:00
|
|
|
# Template file for 'allegro4'.
|
|
|
|
pkgname=allegro4
|
|
|
|
version=4.4.2
|
2014-01-05 07:54:24 +00:00
|
|
|
revision=2
|
2013-07-03 13:31:21 +00:00
|
|
|
wrksrc="allegro-${version}"
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DWANT_DOCS=OFF"
|
|
|
|
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"
|
2014-01-01 15:10:11 +00:00
|
|
|
# libGL.so is dlopen()ed.
|
|
|
|
depends="libGL"
|
2013-07-03 13:31:21 +00:00
|
|
|
short_desc="Portable library mainly aimed at video game and multimedia programming"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="Allegro License (MIT alike)"
|
|
|
|
homepage="http://alleg.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/alleg/allegro-$version.tar.gz"
|
|
|
|
checksum=1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
|
|
|
|
|
|
|
|
allegro4-devel_package() {
|
2014-01-05 07:54:24 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2013-07-03 13:31:21 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/bin/allegro-config
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|