36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'allegro4'
|
|
pkgname=allegro4
|
|
version=4.4.3
|
|
revision=1
|
|
wrksrc="allegro-${version}"
|
|
build_style=cmake
|
|
configure_args="-DWANT_DOCS=OFF"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="zlib-devel alsa-lib-devel jack-devel libXpm-devel libXxf86vm-devel
|
|
libXxf86dga-devel libXcursor-devel libvorbis-devel libpng-devel glu-devel"
|
|
# libGL.so is dlopen()ed.
|
|
depends="libGL"
|
|
short_desc="Portable library mainly aimed at video game and multimedia programming"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="Allegro License (MIT alike)"
|
|
homepage="http://alleg.sourceforge.net/"
|
|
homepage="https://liballeg.org"
|
|
distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz"
|
|
checksum=1e096e435e49e2dfd924d9c54ed7325caa1b06cecd28c3307146dd0de3d0bcb4
|
|
nocross=yes
|
|
|
|
post_install() {
|
|
vlicense docs/txt/license.txt
|
|
}
|
|
|
|
allegro4-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/bin/allegro-config
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|