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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 18 12:12:19 2009 UTC (10 years, 11 months ago) by hanno
Branch: MAIN
josm bump
(Portage version: 2.2_rc26/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/josm/josm-1.437.ebuild,v 1.1 2009/03/01 13:42:27 hanno Exp $
4
5 inherit eutils java-pkg-2
6
7 MY_P=${PN}-snapshot-${PV/./}
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 RDEPEND="${DEPEND}"
16 S="${WORKDIR}"
17
18 IUSE=""
19
20 src_install() {
21 java-pkg_newjar "${DISTDIR}/${MY_P}.jar"
22
23 # Using the eclass doesn't let us support the http_proxy var,
24 # so we're using our own startscript for now.
25 #java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
26 newbin "${FILESDIR}/${PN}-r1" "${PN}" || die "dobin failed"
27
28 doicon "${FILESDIR}/josm.png" || die "doicon failed"
29 make_desktop_entry "${PN}" "Java OpenStreetMap Editor" josm "Application"
30 }

  ViewVC Help
Powered by ViewVC 1.1.20