forked from ports/contrib
22 lines
556 B
Plaintext
22 lines
556 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: flac gtk libidn libvorbis glu openal physfs xorg-libxpm xorg-libxxf86dga
|
|
|
|
name=allegro
|
|
version=5.0.11
|
|
release=1
|
|
source=(http://download.sourceforge.net/alleg/$name/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release .
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|