blob: 98e179a4db43637f115b7a6bf84fc3c6db3bd215 (
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
25
|
# 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
# Run on:
name=gnuchess
version=5.07
release=1
group=app
source=(ftp://ftp.gnu.org/pub/gnu/chess/$name-$version.tar.gz
http://nutyx.meticul.eu/files/patchs/$name/gnuchess-gcc4.patch
http://nutyx.meticul.eu/files/patchs/$name/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
}
|