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
|
|
|
|
# Depends on: alsa-lib xorg-libxcursor xorg-libxpm xorg-libxxf86dga xorg-libxxf86vm
|
|
|
|
|
|
|
|
name=allegro
|
|
|
|
version=4.2.2
|
2009-01-19 16:46:20 +11:00
|
|
|
release=2
|
2009-07-09 19:11:49 +10:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/alleg/$name-$version.tar.gz
|
2009-01-19 16:46:20 +11:00
|
|
|
allegro-4.2.2-exec-stack.patch)
|
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
|
|
|
install -d $PKG/usr
|
2009-01-19 16:46:20 +11:00
|
|
|
patch -p 0 -i $SRC/allegro-4.2.2-exec-stack.patch
|
2008-03-13 22:06:27 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
2009-01-19 16:46:20 +11:00
|
|
|
--enable-linux \
|
|
|
|
--disable-asm \
|
|
|
|
--disable-mmx \
|
|
|
|
--disable-sse
|
2008-03-13 22:06:27 +11:00
|
|
|
|
|
|
|
make -j 1
|
|
|
|
make DESTDIR=$PKG install install-man
|
|
|
|
}
|