summaryrefslogtreecommitdiffstats
path: root/extra/gnuchess/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-25 09:04:34 +0200
committersibel <lesibel at free dot fr>2010-07-25 09:04:34 +0200
commitdaaebbf624c86443f26dd2c369b18400060d1ea4 (patch)
tree25e3aee9bc0a0c846d4c8f73b98964c326433298 /extra/gnuchess/Pkgfile
parentce0803f5cd408814cd47e28b1347273776bfc9d7 (diff)
downloadnutyx-extra-daaebbf624c86443f26dd2c369b18400060d1ea4.tar.gz
nutyx-extra-daaebbf624c86443f26dd2c369b18400060d1ea4.tar.bz2
nutyx-extra-daaebbf624c86443f26dd2c369b18400060d1ea4.tar.xz
nutyx-extra-daaebbf624c86443f26dd2c369b18400060d1ea4.zip
ajout de gnuchess#5.07-1
Diffstat (limited to 'extra/gnuchess/Pkgfile')
-rw-r--r--extra/gnuchess/Pkgfile23
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
+}
+