diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-06-09 11:35:15 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-06-09 11:35:15 +0000 |
commit | fa7dbb8c3e798e158f9b83dc96cfe3f52a9dd805 (patch) | |
tree | 00fa1db52a09a960b159c93e8911e1ce4879b93f /net-p2p/yaggui/yaggui-0.9.2.ebuild | |
parent | Add back the abilitity to run rfcomm bind all to the init script because the ... (diff) | |
download | gentoo-2-fa7dbb8c3e798e158f9b83dc96cfe3f52a9dd805.tar.gz gentoo-2-fa7dbb8c3e798e158f9b83dc96cfe3f52a9dd805.tar.bz2 gentoo-2-fa7dbb8c3e798e158f9b83dc96cfe3f52a9dd805.zip |
Version bump and gen-2 migration, based on ebuild from Serkan Kaba <serkan_kaba@yahoo.com>in bug #176361. Add java as second herd to metadata.xml
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-p2p/yaggui/yaggui-0.9.2.ebuild')
-rw-r--r-- | net-p2p/yaggui/yaggui-0.9.2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-p2p/yaggui/yaggui-0.9.2.ebuild b/net-p2p/yaggui/yaggui-0.9.2.ebuild new file mode 100644 index 000000000000..7f8646a34ed1 --- /dev/null +++ b/net-p2p/yaggui/yaggui-0.9.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/yaggui/yaggui-0.9.2.ebuild,v 1.1 2007/06/09 11:35:15 caster Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}-src-${PV}" + +DESCRIPTION="Yet Another Gift GUI in java" +HOMEPAGE="http://yaggui.sourceforge.net/" +SRC_URI="mirror://sourceforge/yaggui/${MY_P/y/Y}.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +COMMON_DEP="=dev-java/jgoodies-looks-1.2*" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/${MY_P}" + +EANT_BUILD_TARGET="build-jar" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -e '/<unzip/d' -i build.xml || die + rm -v lib/*.jar || die + java-pkg_jar-from jgoodies-looks-1.2 looks.jar lib/plastic-1.1.2.jar +} + +src_install() { + java-pkg_newjar build/Yaggui.jar + + java-pkg_dolauncher ${PN} --main de.hampelratte.yaggui.Main + + dodoc doc/{changelog,Readme.txt} || die +} |