/[gentoo-x86]/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r1.ebuild
Gentoo

Contents of /dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Apr 21 20:24:59 2010 UTC (4 years, 4 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/jgoodies-looks-1.2.2-r1.ebuild,v 1.5 2007/01/21 18:06:50 flameeyes Exp $
4
5 inherit java-pkg-2 java-ant-2
6
7 MY_PN="looks"
8 MY_PV="${PV//./_}"
9 DESCRIPTION="JGoodies Looks Library"
10 HOMEPAGE="http://www.jgoodies.com/"
11 SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}-${MY_PV}.zip"
12
13 LICENSE="BSD"
14 SLOT="1.2"
15 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
16 IUSE="doc"
17
18 DEPEND=">=virtual/jdk-1.4.2
19 dev-java/ant-core
20 app-arch/unzip"
21 RDEPEND=">=virtual/jre-1.4.2"
22
23 S="${WORKDIR}/${MY_PN}-${PV}"
24
25 src_unpack() {
26 unpack ${A}
27 cd "${S}"
28
29 rm *.jar
30 unzip ${MY_PN}-${PV}-src.zip &> /dev/null || die "Unpack Failed"
31 cp "${FILESDIR}/build.xml" "${FILESDIR}/plastic.txt" .
32 }
33
34 src_compile() {
35 eant jar $(use_doc)
36 }
37
38 src_install() {
39 java-pkg_dojar ${MY_PN}.jar
40
41 dodoc RELEASE-NOTES.txt
42 use doc && java-pkg_dohtml -r build/doc
43 }

  ViewVC Help
Powered by ViewVC 1.1.20