diff options
Diffstat (limited to 'extra/gnuchess/Pkgfile')
-rw-r--r-- | extra/gnuchess/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/gnuchess/Pkgfile b/extra/gnuchess/Pkgfile new file mode 100644 index 000000000..796da283f --- /dev/null +++ b/extra/gnuchess/Pkgfile @@ -0,0 +1,23 @@ +# 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 -j3 + make prefix=$PKG/usr install +} + |