summaryrefslogtreecommitdiffstats
path: root/extra/gnuchess/Pkgfile
blob: 950daf33373b184126a38f2bfaf7b220310f4333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Jeu d'échecs
# URL: http://www.gnu.org/software/chess/chess.html
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: readline, ncursesi

name=gnuchess
version=5.07
release=1
group=app
source=(ftp://ftp.gnu.org/pub/gnu/chess/$name-$version.tar.gz
        gnuchess-gcc4.patch
        gnuchess-glibc210.patch)

build() {
        cd $name-$version
        patch -Np1 -i ../gnuchess-gcc4.patch
	patch -Np0 -i ../gnuchess-glibc210.patch
        ./configure --prefix=/usr
        make
        make prefix=$PKG/usr install
}