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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 6 12:23:37 2011 UTC (8 years, 7 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump to the latest. Drop older.

(Portage version: 2.2.0_alpha43/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-4064.ebuild,v 1.1 2011/06/08 11:40:49 scarabeus Exp $
4
5 EAPI=4
6
7 JAVA_ANT_ENCODING=UTF-8
8
9 inherit eutils java-pkg-2 java-ant-2
10
11 DESCRIPTION="Java-based editor for the OpenStreetMap project"
12 HOMEPAGE="http://josm.openstreetmap.de/"
13 SRC_URI="http://josm.fabian-fingerle.de/${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 eant dist
28 }
29
30 src_install() {
31 java-pkg_newjar "dist/${PN}.jar" || die "java-pkg_newjar failed"
32 java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
33
34 newicon images/logo.png josm.png || die "newicon failed"
35 make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Science;Geoscience"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20