New package: allegro4-4.4.2.

This commit is contained in:
Juan RP 2013-07-03 15:31:21 +02:00
parent bbde6f7f6e
commit 22e0fa8f8e
3 changed files with 36 additions and 0 deletions

View file

@ -1361,3 +1361,4 @@ libvncserver.so.0 libvncserver-0.9.9_1
libvncclient.so.0 libvncserver-0.9.9_1
libotr3.so.2 libotr3-3.2.1_1
libotr.so.5 libotr-4.0.0_1
liballeg.so.4 allegro4-4.4.2_1

1
srcpkgs/allegro4-devel Symbolic link
View file

@ -0,0 +1 @@
allegro4

34
srcpkgs/allegro4/template Normal file
View file

@ -0,0 +1,34 @@
# Template file for 'allegro4'.
pkgname=allegro4
version=4.4.2
revision=1
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"
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() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/bin/allegro-config
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}
allegro4_package() {
# libGL.so is dlopen()ed.
depends="libGL"
pkg_install() {
vmove usr
}
}