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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jan 12 16:12:30 2009 UTC (11 years, 2 months ago) by hanno
Branch: MAIN
josm bump
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 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.5_p1065.ebuild,v 1.1 2008/11/05 08:44:18 hanno Exp $
4
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