| 1 | # Description: 2D action deathmatch-like game in ASCII-ART |
| 2 | # URL: http://artax.karlin.mff.cuni.cz/~brain/0verkill/ |
| 3 | # Maintainer: Jose V Beneyto, sepen at crux dot nu |
| 4 | # Packager: Jose V Beneyto, sepen at crux dot nu |
| 5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 6 | # Depends on: xorg-libxpm |
| 7 | |
| 8 | name=0verkill |
| 9 | version=0.16 |
| 10 | release=2 |
| 11 | source=(http://artax.karlin.mff.cuni.cz/~brain/$name/release/$name-$version.tgz \ |
| 12 | $name-$version.patch) |
| 13 | |
| 14 | build() { |
| 15 | cd $name-$version |
| 16 | patch -p1 -i $SRC/$name-$version.patch |
| 17 | ./configure --build=$CHOST \ |
| 18 | --host=$CTARGET \ |
| 19 | --prefix=/usr \ |
| 20 | --x-includes=$CLFS/usr/include/X11 \ |
| 21 | --x-libraries=$CLFS/usr/lib \ |
| 22 | --with-x |
| 23 | sed 's|gcc |$(CC) |g' -i Makefile |
| 24 | make CC="$CC" CFLAGS="$CFLAGS" |
| 25 | make DESTDIR=$PKG install |
| 26 | rm $PKG/usr/share/0verkill/doc/Readme\ Win32.txt |
| 27 | } |