Gentoo Archives: gentoo-java

From: Alistair Bush <alistair.bush@×××××.com>
To: gentoo-java@l.g.o
Subject: [gentoo-java] Ebuild template for vim
Date: Thu, 01 Feb 2007 18:39:57
Message-Id: 200702020738.31167.alistair.bush@gmail.com
1 I am in the process of updating the vim ebuild template to incorporate the
2 lastest wizz bang and pop that available for gentoo java. (ie its currently
3 a generation 1 template)
4
5 I am just wanting feedback on the ebuild template provided by Betelgeuse as
6 this is what im working from.
7
8 so does anyone have any suggestions, problems with or anything else with the
9 following as a template...
10
11
12 # Copyright 1999-2006 Gentoo Foundation
13 # Distributed under the terms of the GNU General Public License v2
14 # $Header: $
15
16 inherit java-pkg-2 java-ant-2
17
18 DESCRIPTION=""
19 HOMEPAGE=""
20 MY_PN=
21 MY_P=${MY_PN}-${PV}
22 SRC_URI="${P}.zip"
23
24 LICENSE=""
25 SLOT="0"
26 KEYWORDS="~x86"
27
28 IUSE="doc source"
29
30 COMMON_DEP="
31 "
32
33 RDEPEND=">=virtual/jre-1.4
34 ${COMMON_DEP}"
35 DEPEND=">=virtual/jdk-1.4
36 dev-java/ant-core
37 app-arch/unzip
38 source? ( app-arch/zip )
39 ${COMMON_DEP}"
40
41 S=${WORKDIR}/${MY_P}
42
43 src_unpack() {
44 unpack ${A}
45 cd "${S}"
46 }
47
48 EANT_BUILD_TARGET="
49 EANT_DOC_TARGET="
50
51 src_install() {
52 java-pkg_dojar
53 use doc && java-pkg_dojavadoc
54 use source && java-pkg_dosrc
55 }
56 --
57 gentoo-java@g.o mailing list

Replies

Subject Author
Re: [gentoo-java] Ebuild template for vim Vlastimil Babka <caster@g.o>