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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jun 8 11:40:50 2011 UTC (8 years, 8 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump to latest. Drop older.

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

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

  ViewVC Help
Powered by ViewVC 1.1.20