73 lines
2 KiB
Text
Executable file
73 lines
2 KiB
Text
Executable file
app=gnuchess
|
|
version=6.2.6
|
|
JENGVER=11.2
|
|
XBOARDVER=4.9.1
|
|
build=1sml
|
|
homepage="https://www.gnu.org/software/chess/"
|
|
download="http://ftp.gnu.org/gnu/chess/gnuchess-6.2.6.tar.gz"
|
|
desc="GPL licensed chess engines and graphical frontends"
|
|
requires="gcc-libs gdbm gtk2 graphite2 libpng netbsd-curses gobject-introspection"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf gnuchess-$version
|
|
|
|
tar xf $srcdir/gnuchess-$version.tar.?z*
|
|
cd gnuchess-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/COPYING.gnuchess
|
|
|
|
mkandenterbuilddir
|
|
rm -rf Sjeng-Free-$JENGVER
|
|
|
|
tar xf $srcdir/Sjeng-Free-$JENGVER.tar.?z*
|
|
cd Sjeng-Free-$JENGVER
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix=""
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
mkandenterbuilddir
|
|
rm -rf xboard-$XBOARDVER
|
|
tar xf $srcdir/xboard-$XBOARDVER.tar.?z*
|
|
cd xboard-$XBOARDVER
|
|
fixbuilddirpermissions
|
|
|
|
patch -p1 < $srcdir/xboard.conf.diff
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--with-gtk \
|
|
--enable-zippy
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
install -c cmail $pkg/bin/cmail
|
|
install -Dm 644 $srcdir/chess.png $pkg/share/pixmaps/chess.png
|
|
|
|
cp COPYING $pkgdocs/COPYING.xboard
|
|
cp COPYRIGHT $pkgdocs/COPYRIGHT.xboard
|
|
|
|
mv $pkg/etc/xboard.conf $pkg/etc/xboard.conf.new
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
2a42baee5c64a8083e587fa0c748beac5a08906e95d46c7343955b336124f1fb560e8284a36d595839a190e9f784fe1f9d1cf7e79601373bbec05c4433108471 Sjeng-Free-11.2.tar.lz
|
|
d6adb251eeea0f1f962955dee1f0125e3e76893f6a6c30e774bd496515334572c8e906ac8cad140e1950fcc40cfe88ac05fbae8b08595acd7b86722e486ebae9 gnuchess-6.2.6.tar.lz
|
|
0ef5a24e19693ea768c01ae5891f7fb3f37ae6bdbee853f002f1ed5f9a4141452b8d32c49dfef69d591bc95aff8ce9e6a718aae16ba9ce50da7b43752ff9fcbf xboard-4.9.1.tar.lz
|
|
fe9435e56f549703127576f4c614a6ad7bda67f7e5f6542a61889ed364a2ab6529c6ec1a1dc6435f3937e97a5f201d672e87ac448a3cb7466ba23de07676473a xboard.conf.diff
|
|
"
|