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

Contents of /sci-geosciences/josm/josm-1.5_p1065.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Mar 18 12:09:38 2009 UTC (10 years, 11 months ago) by hanno
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
josm: remove obsolete versions
(Portage version: 2.2_rc26/cvs/Linux x86_64)

1 hanno 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 hanno 1.2 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.5_p1065.ebuild,v 1.1 2008/11/05 08:44:18 hanno Exp $
4 hanno 1.1
5     inherit eutils java-pkg-2
6    
7     MY_P=${PN}-snapshot-${PV/1.5_p/}
8     DESCRIPTION="Java-based editor for the OpenStreetMap project"
9     HOMEPAGE="http://josm.openstreetmap.de/"
10     SRC_URI="http://josm.openstreetmap.de/download/${MY_P}.jar"
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~amd64 ~x86"
14     DEPEND=">=virtual/jre-1.6"
15     S="${WORKDIR}"
16    
17     IUSE=""
18    
19     src_install() {
20     java-pkg_newjar "${DISTDIR}/${MY_P}.jar"
21    
22     # Using the eclass doesn't let us support the http_proxy var,
23     # so we're using our own startscript for now.
24     #java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
25     newbin "${FILESDIR}/${PN}-r1" "${PN}" || die "dobin failed"
26    
27     doicon "${FILESDIR}/josm.png" || die "doicon failed"
28     make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
29     }

  ViewVC Help
Powered by ViewVC 1.1.20