summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-08-02 16:45:45 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-08-02 16:45:45 +0000
commit972601648a2b8ee99d7547fe8123a6d56998d2e5 (patch)
tree3be4d769741fd35a57fd859bed044ead22facafd /sci-geosciences/mkgmap/mkgmap-1995.ebuild
parentbackport NULL pointer dereference patch from git (diff)
downloadhistorical-972601648a2b8ee99d7547fe8123a6d56998d2e5.tar.gz
historical-972601648a2b8ee99d7547fe8123a6d56998d2e5.tar.bz2
historical-972601648a2b8ee99d7547fe8123a6d56998d2e5.zip
Downgrade back to version 1995 which does not show compilation issues. New version will be added when it compiles again. Fixes bug #377197.
Package-Manager: portage-2.2.0_alpha49/cvs/Linux x86_64
Diffstat (limited to 'sci-geosciences/mkgmap/mkgmap-1995.ebuild')
-rw-r--r--sci-geosciences/mkgmap/mkgmap-1995.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-geosciences/mkgmap/mkgmap-1995.ebuild b/sci-geosciences/mkgmap/mkgmap-1995.ebuild
new file mode 100644
index 000000000000..a2931b5dee52
--- /dev/null
+++ b/sci-geosciences/mkgmap/mkgmap-1995.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/mkgmap/mkgmap-1995.ebuild,v 1.1 2011/08/02 16:45:45 scarabeus Exp $
+
+EAPI=4
+
+JAVA_ANT_ENCODING=UTF-8
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Tool to create garmin maps"
+HOMEPAGE="http://www.mkgmap.org.uk"
+SRC_URI="http://www.mkgmap.org.uk/snapshots/${PN}-r${PV}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+ eant dist || die
+}
+
+src_install() {
+ java-pkg_newjar "dist/${PN}.jar" || die "java-pkg_newjar failed"
+ java-pkg_dolauncher "${PN}" --jar "${PN}.jar" || die "java-pkg_dolauncher failed"
+
+ dodoc dist/README dist/doc/Credits dist/doc/*.txt
+ doman dist/doc/mkgmap.1
+}