CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
zracer: Fixed arch maintainer and release
[attic/ports/games-cross.git] / braincurses / Pkgfile
CommitLineData
35d5ba79
VM
1# Description: A clone of the Mastermind game made with ncurses
2# URL: http://sourceforge.net/projects/braincurses/
3# Maintainer: Victor Martinez, pitillo at ono dot com
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on: ncurses
6
7name=braincurses
8version=0.5b
9release=1
10source=(http://dl.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz \
11 braincurses-0.5b.patch)
12
13build() {
14 cd $name-$version
15 patch -p0 -i $SRC/$name-$version.patch
16 sed "s|\${CURSES_LIBS}|\${CURSES_LIBS} -lstdc++|g" -i Makefile
17 make CC="$CC"
18 install -D -m 0755 $name $PKG/usr/bin/$name
19}