Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=72d2ebfa76d98029d2887a3e05b80b68af2bbb02
commit 72d2ebfa76d98029d2887a3e05b80b68af2bbb02 Author: Elentir <elen...@frugalware.org> Date: Sat Apr 23 22:06:16 2011 +0200 stockfish-2.0.1-1-x86_64 * new package diff --git a/source/games-extra/stockfish/FrugalBuild b/source/games-extra/stockfish/FrugalBuild new file mode 100644 index 0000000..7237599 --- /dev/null +++ b/source/games-extra/stockfish/FrugalBuild @@ -0,0 +1,28 @@ +# Compiling Time: 0.10 SBU +# Maintainer: Elentir <elen...@frugalware.org> + +pkgname=stockfish +pkgver=2.0.1 +pkgrel=1 +pkgdesc="An open-source UCI chess engine" +url="http://www.stockfishchess.com" +depends=('libstdc++') +groups=('games-extra') +archs=('i686' 'x86_64') +up2date="lynx -dump http://www.stockfishchess.com/download/all/ | grep Linux | sed 's/.*Stockfish.\([01235456789\.]*\).*/\1/'" +source=(http://cl.ly/2e0A1H2m3R3k3a3J2f2b/$pkgname-201-linux.zip) +sha1sums=('64da34e14b73ce380fbe92070c6c1ef711557e2b') +_F_cd_path="stockfish-201-linux/src" + +build() { + Fcd + if [ "$CARCH" == "x86_64" ]; then + make ARCH=x86-64 + else + make ARCH=x86-32 + fi + Fmkdir usr/bin/ + Finstall 755 $_F_cd_path/stockfish usr/bin/ +} + +# optimization OK _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git