diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-25 21:32:08 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-25 21:32:08 +0000 |
commit | 2d6c7e4ca7903c8fb7cafbcbc98de09076b05c60 (patch) | |
tree | e7f0aa9732bec7f9e4dc5801414159207fbb6197 /games-puzzle/pauker | |
parent | sparc/x86 stable (diff) | |
download | gentoo-2-2d6c7e4ca7903c8fb7cafbcbc98de09076b05c60.tar.gz gentoo-2-2d6c7e4ca7903c8fb7cafbcbc98de09076b05c60.tar.bz2 gentoo-2-2d6c7e4ca7903c8fb7cafbcbc98de09076b05c60.zip |
Revbump for lucene slot move.
(Portage version: 2.1.4)
Diffstat (limited to 'games-puzzle/pauker')
-rw-r--r-- | games-puzzle/pauker/ChangeLog | 10 | ||||
-rw-r--r-- | games-puzzle/pauker/files/digest-pauker-1.7.5-r1 | 3 | ||||
-rw-r--r-- | games-puzzle/pauker/pauker-1.7.5-r1.ebuild | 58 |
3 files changed, 69 insertions, 2 deletions
diff --git a/games-puzzle/pauker/ChangeLog b/games-puzzle/pauker/ChangeLog index 35bb2c0074cd..a1363d878e14 100644 --- a/games-puzzle/pauker/ChangeLog +++ b/games-puzzle/pauker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-puzzle/pauker -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.17 2007/06/16 13:03:39 dertobi123 Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/ChangeLog,v 1.18 2008/01/25 21:32:07 robbat2 Exp $ + +*pauker-1.7.5-r1 (25 Jan 2008) + + 25 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> + +pauker-1.7.5-r1.ebuild: + Revbump for lucene slot move. 16 Jun 2007; Tobias Scherbaum <dertobi123@gentoo.org> pauker-1.7.5.ebuild: Added ~ppc, bug #180291 diff --git a/games-puzzle/pauker/files/digest-pauker-1.7.5-r1 b/games-puzzle/pauker/files/digest-pauker-1.7.5-r1 new file mode 100644 index 000000000000..076ebdea784a --- /dev/null +++ b/games-puzzle/pauker/files/digest-pauker-1.7.5-r1 @@ -0,0 +1,3 @@ +MD5 311aa54c4e6e4ca2ca8f19768b001eac pauker-1.7.5.src.jar 1666625 +RMD160 d47e6343c41f4b82044cf11207aa428d333f0abb pauker-1.7.5.src.jar 1666625 +SHA256 a43da9b021994b409314d9dd395247c217799972f7816d964706e4cc17e8340d pauker-1.7.5.src.jar 1666625 diff --git a/games-puzzle/pauker/pauker-1.7.5-r1.ebuild b/games-puzzle/pauker/pauker-1.7.5-r1.ebuild new file mode 100644 index 000000000000..3116f5084487 --- /dev/null +++ b/games-puzzle/pauker/pauker-1.7.5-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pauker/pauker-1.7.5-r1.ebuild,v 1.1 2008/01/25 21:32:07 robbat2 Exp $ + +EAPI=1 +inherit eutils java-pkg-2 games + +DESCRIPTION="A java based flashcard program" +HOMEPAGE="http://pauker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.src.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="dev-java/browserlauncher2 + dev-java/lucene:2.1 + dev-java/javahelp + dev-java/swing-layout" +DEPEND="${RDEPEND} + app-arch/unzip + >=virtual/jdk-1.4" +RDEPEND="${RDEPEND} + >=virtual/jre-1.4" + +S=${WORKDIR} + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_compile() { + local cp + cp=$(java-pkg_getjars browserlauncher2-1.0,lucene-2.1,javahelp,swing-layout-1) + + mkdir -p classes + ejavac -d classes -cp classes:${cp} $(find . -name '*.java') + + jar cf ${PN}.jar -C classes . || die "jar failed" +} + +src_install() { + java-pkg_jarinto "${GAMES_DATADIR}"/${PN} + java-pkg_dojar ${PN}.jar + + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --pwd "${GAMES_DATADIR}"/${PN} \ + --main pauker.program.gui.swing.PaukerFrame + + cd ${PN} + insinto "${GAMES_DATADIR}"/${PN}/${PN} + doins -r help icons sounds *.txt *.html Strings* || die "doins failed" + + prepgamesdirs +} |