diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 17:46:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 17:46:27 +0000 |
commit | 97058967a7de1ca39bedfc34a737c18adedef2ab (patch) | |
tree | 1cb38f3487301fc029765267e06de600501406e9 /games-board/gnubg | |
parent | Changes to make the eclass more flexible (diff) | |
download | gentoo-2-97058967a7de1ca39bedfc34a737c18adedef2ab.tar.gz gentoo-2-97058967a7de1ca39bedfc34a737c18adedef2ab.tar.bz2 gentoo-2-97058967a7de1ca39bedfc34a737c18adedef2ab.zip |
board board games
Diffstat (limited to 'games-board/gnubg')
-rw-r--r-- | games-board/gnubg/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/gnubg/Manifest | 3 | ||||
-rw-r--r-- | games-board/gnubg/files/digest-gnubg-0.13.0 | 3 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-0.13.0.ebuild | 71 |
4 files changed, 85 insertions, 0 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog new file mode 100644 index 000000000000..bdb69b76da85 --- /dev/null +++ b/games-board/gnubg/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-games/gnubg +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.1 2003/09/10 17:46:27 vapier Exp $ + +*gnubg-0.13.0 (02 Mar 2003) + + 02 Mar 2003; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Rigo Ketelings <rigo@home.nl> #9407. diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest new file mode 100644 index 000000000000..9a74fa0cb288 --- /dev/null +++ b/games-board/gnubg/Manifest @@ -0,0 +1,3 @@ +MD5 d7c8a2e698a45f34caadfb26b0b6a068 ChangeLog 369 +MD5 adeac5354058ee95625cfdf279a9624d gnubg-0.13.0.ebuild 1783 +MD5 14a8f9e2546292fc22c04fbea97287f7 files/digest-gnubg-0.13.0 188 diff --git a/games-board/gnubg/files/digest-gnubg-0.13.0 b/games-board/gnubg/files/digest-gnubg-0.13.0 new file mode 100644 index 000000000000..e21082abc05d --- /dev/null +++ b/games-board/gnubg/files/digest-gnubg-0.13.0 @@ -0,0 +1,3 @@ +MD5 91db5727b6589dbfd410e6ce1683fa95 gnubg-0.13.0.tar.gz 2232531 +MD5 82d1eab50ef604c41dced139afb469ba gnubg.weights-0.13.gz 470118 +MD5 e247fbc2d2ac370ccad29489e8be9181 gnubg.bd.gz 2427893 diff --git a/games-board/gnubg/gnubg-0.13.0.ebuild b/games-board/gnubg/gnubg-0.13.0.ebuild new file mode 100644 index 000000000000..13518d36dc8a --- /dev/null +++ b/games-board/gnubg/gnubg-0.13.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.13.0.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $ + +inherit games + +WPV=0.13 +DESCRIPTION="GNU BackGammon" +HOMEPAGE="http://www.gnu.org/software/gnubg/gnubg.html" +SRC_URI="ftp://alpha.gnu.org/gnu/gnubg/${P}.tar.gz + ftp://alpha.gnu.org/gnu/gnubg/${PN}.weights-${WPV}.gz + ftp://alpha.gnu.org/gnu/gnubg/${PN}.bd.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="gtk gtk2 readline guile X gdbm truetype nls png" + +DEPEND="guile? ( dev-util/guile ) + truetype? ( =media-libs/freetype-1* ) + || ( + gtk? ( =x11-libs/gtk+-1.2* ) + gtk2? ( =x11-libs/gtk+-2* ) + ) + readline? ( sys-libs/readline ) + X? ( virtual/x11 ) + gdbm? ( sys-libs/gdbm ) + png? ( media-libs/libpng )" + +src_unpack() { + unpack ${A} + cd ${S} + mv ../${PN}.weights-${WPV} ${S}/${PN}.weights + mv ../${PN}.bd ${S} +} + +src_compile() { + local myconf="" + [ -n "`best_version x11-libs/gtk+extra`" ] && myconf="--with-gtkextra" + if [ `use esd` ] ; then + myconf="${myconf} --with-sound --enable-esd" + elif [ `use arts` ] ; then + myconf="${myconf} --with-sound --enable-artsc" + elif [ `use nas` ] ; then + myconf="${myconf} --with-sound --enable-nas" + else + myconf="${myconf} --without-sound" + fi + + #configure script doesnt hanlde this param properly + # `use_with guile` \ + egamesconf \ + `use_with gtk` \ + `use_with gtk2` \ + `use_with readline` \ + `use_with X x` \ + `use_with gdbm` \ + `use_with truetype freetype` \ + `use_enable nls` \ + ${myconf} \ + || die + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + insinto ${GAMES_DATADIR}/${PN} + doins ${PN}.weights + dodoc AUTHORS README NEWS + prepgamesdirs +} |