summaryrefslogtreecommitdiff
blob: b44c08b2b52b127190d096c5fa1f17e049e58682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/yaggui/yaggui-0.9.ebuild,v 1.4 2006/01/20 22:02:16 sekretarz Exp $

inherit java-pkg

DESCRIPTION="Yet Another Gift GUI in java"
HOMEPAGE="http://yaggui.sourceforge.net/"
SRC_URI="mirror://sourceforge/yaggui/${P/y/Y}-src.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~amd64"
IUSE=""
DEPEND=">=dev-java/ant-1.4"
RDEPEND=">=virtual/jdk-1.4"
S=${WORKDIR}/${P}-src

src_compile() {
	ant build-jar || die
}

src_install() {
	java-pkg_dojar build/Yaggui.jar
	dohtml docs/*
	exeinto /usr/bin
	newexe ${FILESDIR}/${PN}.sh ${PN}
}