2016-03-03 02:06:18 +00:00
|
|
|
# Template file for 'allegro5'.
|
|
|
|
pkgname=allegro5
|
2016-08-15 03:16:38 +00:00
|
|
|
version=5.2.1.1
|
2016-08-04 17:56:54 +00:00
|
|
|
revision=1
|
2016-08-15 03:16:38 +00:00
|
|
|
wrksrc="allegro-${version}"
|
2016-03-03 02:06:18 +00:00
|
|
|
build_style=cmake
|
2016-04-29 05:38:35 +00:00
|
|
|
configure_args="-DWANT_DOCS=1 -DWANT_PHYSFS=1"
|
|
|
|
hostmakedepends="pkg-config"
|
2016-03-03 02:06:18 +00:00
|
|
|
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
|
2016-04-29 05:38:35 +00:00
|
|
|
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel
|
|
|
|
libjpeg-turbo-devel libtheora-devel freetype-devel libflac-devel physfs-devel
|
|
|
|
libopenal-devel"
|
2016-03-03 02:06:18 +00:00
|
|
|
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-08-15 03:16:38 +00:00
|
|
|
checksum=b5d9df303bc6d72d54260c24505889acd995049b75463b46344e797a58a44a71
|
2016-03-03 02:06:18 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
allegro5-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2016-04-29 05:38:35 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2016-03-03 02:06:18 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|