Commit | Line | Data |
---|---|---|
ec8164d2 VM |
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 | |
2ee08b04 VM |
5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6 | # Depends on: xorg-libxpm | |
ec8164d2 VM |
7 | |
8 | name=0verkill | |
9 | version=0.16 | |
e0f372f5 | 10 | release=2 |
ec8164d2 VM |
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 \ | |
e0f372f5 VM |
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 | |
ec8164d2 VM |
24 | make CC="$CC" CFLAGS="$CFLAGS" |
25 | make DESTDIR=$PKG install | |
26 | rm $PKG/usr/share/0verkill/doc/Readme\ Win32.txt | |
27 | } |