/[gentoo-x86]/sci-geosciences/josm/josm-3.208.ebuild
Gentoo

Contents of /sci-geosciences/josm/josm-3.208.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Feb 2 14:36:40 2011 UTC (9 years ago) by hanno
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove old josm ebuilds

(Portage version: 2.1.9.35/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-3.208.ebuild,v 1.1 2010/05/31 11:14:08 hanno Exp $
4
5 EAPI="3"
6
7 inherit eutils java-pkg-2 java-ant-2
8
9 MY_P=${PN}-${PV/./}
10
11 DESCRIPTION="Java-based editor for the OpenStreetMap project"
12 HOMEPAGE="http://josm.openstreetmap.de/"
13 SRC_URI="http://josm.fabian-fingerle.de/${MY_P}.tar.xz"
14 LICENSE="GPL-2"
15 SLOT="0"
16
17 KEYWORDS="~amd64 ~x86"
18
19 DEPEND=">=virtual/jdk-1.6"
20 RDEPEND=">=virtual/jre-1.6"
21
22 S="${WORKDIR}/${PN}"
23
24 IUSE=""
25
26 src_compile() {
27 JAVA_ANT_ENCODING=UTF-8
28 eant dist
29 }
30
31 src_install() {
32 java-pkg_newjar "dist/${PN}-custom.jar" || die "java-pkg_newjar failed"
33 java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
34
35 newicon images/logo.png josm.png || die "newicon failed"
36 make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20