2008-03-13 22:06:27 +11:00
|
|
|
# Description: A multi-platform game programming library for C/C++.
|
|
|
|
# URL: http://alleg.sourceforge.net/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-03-13 22:06:27 +11:00
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
2010-11-04 21:31:45 +11:00
|
|
|
# Depends on: alsa-lib cmake libpng libvorbis
|
2008-03-13 22:06:27 +11:00
|
|
|
|
|
|
|
name=allegro
|
2010-11-04 21:31:45 +11:00
|
|
|
version=4.4.1.1
|
|
|
|
release=1
|
|
|
|
source=(http://downloads.sourceforge.net/project/alleg/$name/$version/$name-$version.tar.gz)
|
2008-03-13 22:06:27 +11:00
|
|
|
|
|
|
|
build() {
|
2009-01-19 16:46:20 +11:00
|
|
|
cd $name-$version
|
2008-03-13 22:06:27 +11:00
|
|
|
|
2010-11-04 21:31:45 +11:00
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
CMAKE_BUILD_TYPE=Release .
|
2008-03-13 22:06:27 +11:00
|
|
|
|
2010-11-04 21:31:45 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/doc
|
2008-03-13 22:06:27 +11:00
|
|
|
}
|