23 lines
613 B
Plaintext
23 lines
613 B
Plaintext
# Description: A multi-platform game programming library for C/C++.
|
|
# URL: http://alleg.sourceforge.net/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
# Depends on: alsa-lib cmake libidn libpng libvorbis glu xorg-libxcursor xorg-libxpm xorg-libxxf86dga xorg-libxxf86vm
|
|
|
|
name=allegro4
|
|
version=4.4.2
|
|
release=2
|
|
source=(http://download.sourceforge.net/alleg/allegro/$version/allegro-$version.tar.gz)
|
|
|
|
build() {
|
|
cd allegro-$version
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release .
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/doc
|
|
}
|