summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-10-17 19:41:25 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-10-17 19:41:25 +0000
commitacf165eae3a4b67e6ca946a09a75c935f03c998e (patch)
tree049b4db5054f25b9b01cf0a3cdb815669bb6bda3 /games-util/searchtool
parentClean up patches and ebuilds. (diff)
downloadgentoo-2-acf165eae3a4b67e6ca946a09a75c935f03c998e.tar.gz
gentoo-2-acf165eae3a4b67e6ca946a09a75c935f03c998e.tar.bz2
gentoo-2-acf165eae3a4b67e6ca946a09a75c935f03c998e.zip
Use java-pkg-2 eclass
(Portage version: 2.1.2_pre3-r3)
Diffstat (limited to 'games-util/searchtool')
-rw-r--r--games-util/searchtool/ChangeLog8
-rw-r--r--games-util/searchtool/files/digest-searchtool-0.4.42
-rw-r--r--games-util/searchtool/searchtool-0.4.4.ebuild23
3 files changed, 18 insertions, 15 deletions
diff --git a/games-util/searchtool/ChangeLog b/games-util/searchtool/ChangeLog
index d033bfbdd8d2..1e11b07768da 100644
--- a/games-util/searchtool/ChangeLog
+++ b/games-util/searchtool/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-util/searchtool
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/searchtool/ChangeLog,v 1.6 2005/06/05 11:35:25 hansmi Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/searchtool/ChangeLog,v 1.7 2006/10/17 19:41:25 nyhm Exp $
+
+ 17 Oct 2006; Tristan Heaven <nyhm@gentoo.org> -files/searchtool,
+ searchtool-0.4.4.ebuild:
+ Use java-pkg-2 eclass
05 Jun 2005; Michael Hanselmann <hansmi@gentoo.org>
searchtool-0.4.4.ebuild:
diff --git a/games-util/searchtool/files/digest-searchtool-0.4.4 b/games-util/searchtool/files/digest-searchtool-0.4.4
index e56188f37c7a..fdf21421110e 100644
--- a/games-util/searchtool/files/digest-searchtool-0.4.4
+++ b/games-util/searchtool/files/digest-searchtool-0.4.4
@@ -1 +1,3 @@
MD5 be68734752db3413b3961e19945226a7 searchtool-0.4.4.tar.gz 1180384
+RMD160 67dee54c5e4c072d09e78af61160237cea2dfb86 searchtool-0.4.4.tar.gz 1180384
+SHA256 7ff06cc5943decca529c74ba753243820579e03f611cdc0fd3285f6a7d111bfe searchtool-0.4.4.tar.gz 1180384
diff --git a/games-util/searchtool/searchtool-0.4.4.ebuild b/games-util/searchtool/searchtool-0.4.4.ebuild
index 557a1805c506..bad75946ec86 100644
--- a/games-util/searchtool/searchtool-0.4.4.ebuild
+++ b/games-util/searchtool/searchtool-0.4.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-util/searchtool/searchtool-0.4.4.ebuild,v 1.5 2005/06/05 11:35:25 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-util/searchtool/searchtool-0.4.4.ebuild,v 1.6 2006/10/17 19:41:25 nyhm Exp $
-inherit games
+inherit java-ant-2 java-pkg-2 games
DESCRIPTION="server browser for Internet games"
HOMEPAGE="http://searchtool.sourceforge.net/"
@@ -13,23 +13,20 @@ SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
-DEPEND="dev-java/ant"
-RDEPEND="virtual/jre"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant"
+RDEPEND=">=virtual/jre-1.4"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
src_compile() {
- ant || die "ant failed"
- sed \
- -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
- -e "s:GENTOO_P:${P}:" \
- ${FILESDIR}/searchtool > searchtool
+ eant || die
}
src_install() {
- dogamesbin searchtool || die "dogamesbin failed"
+ games_make_wrapper ${PN} "java -jar ${P}.jar" "${GAMES_DATADIR}/${PN}"
insinto "${GAMES_DATADIR}/${PN}"
- doins ${P}.jar
+ doins ${P}.jar || die "doins failed"
dodoc README
prepgamesdirs
}