2008-03-13 12:06:27 +01:00
|
|
|
# Description: A multi-platform game programming library for C/C++.
|
2019-09-08 13:32:32 +02:00
|
|
|
# URL: https://liballeg.org/
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2017-11-01 13:35:12 +01:00
|
|
|
# Depends on: alsa-lib glu libidn libpng libvorbis xorg-libxcursor xorg-libxpm xorg-libxxf86dga
|
2008-03-13 12:06:27 +01:00
|
|
|
|
2012-01-22 01:23:19 +01:00
|
|
|
name=allegro4
|
2019-09-08 13:32:32 +02:00
|
|
|
version=4.4.3.1
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/liballeg/allegro5/releases/download/$version/allegro-$version.tar.gz)
|
2008-03-13 12:06:27 +01:00
|
|
|
|
|
|
|
build() {
|
2012-01-22 01:23:19 +01:00
|
|
|
cd allegro-$version
|
2008-03-13 12:06:27 +01:00
|
|
|
|
2019-09-08 13:32:32 +02:00
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake .. \
|
2010-11-04 11:31:45 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-09-08 13:32:32 +02:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-GNinja
|
|
|
|
|
|
|
|
ninja -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja install
|
2008-03-13 12:06:27 +01:00
|
|
|
|
2010-11-04 11:31:45 +01:00
|
|
|
rm -r $PKG/usr/doc
|
2008-03-13 12:06:27 +01:00
|
|
|
}
|