summaryrefslogtreecommitdiffstats
path: root/sci-geosciences/mkgmap
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences/mkgmap')
-rw-r--r--sci-geosciences/mkgmap/Manifest2
-rw-r--r--sci-geosciences/mkgmap/mkgmap-3620.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/sci-geosciences/mkgmap/Manifest b/sci-geosciences/mkgmap/Manifest
new file mode 100644
index 0000000..a4d5b0e
--- /dev/null
+++ b/sci-geosciences/mkgmap/Manifest
@@ -0,0 +1,2 @@
+DIST mkgmap-r3620-src.tar.gz 1685777 SHA256 a3d2b565171fbcc35c45aa09788c4ccf700df6d73162826b7b47070ef9a8a8b1 SHA512 1dfefb323fedb84cb39a316064c7f3d3c6b8c0a1616b7dfbee7cf7e8b6c4046a526f2460262a25d4f89750c6debe29051eaa01ba6ccd6478e61bc735d5890a75 WHIRLPOOL 8fe1d60fe2238c6b6d50c0586887e8a1d419a89ae7ad255b484e8c3be5c0c4e54c29a6c3a1e9bd7550f836464e62cf64f9b1242c0c3b7df661484957a99a0499
+EBUILD mkgmap-3620.ebuild 1164 SHA256 0a3d9ceee9bd88f6309f22b7ea58a6ff36e24735be0bfd74a433d6d5d3fe412e SHA512 89c9c4a3391ba1f53ab52e0adc494e7c090d67c9662ca3249c3352f1ef925431d132c5df705d7db3044609e56c9099368a0c2ebad7d3f4cc52776179c17d9af5 WHIRLPOOL dc0f31077ede9611cc3575cb5553ea48cd602f7fd43c17420f859d240c7723c7346c45ce0283f3bb0891e36d40f723d98b8a8db0afa9ffd18e2cf8c09a3ab686
diff --git a/sci-geosciences/mkgmap/mkgmap-3620.ebuild b/sci-geosciences/mkgmap/mkgmap-3620.ebuild
new file mode 100644
index 0000000..31feb0e
--- /dev/null
+++ b/sci-geosciences/mkgmap/mkgmap-3620.ebuild
@@ -0,0 +1,40 @@
+# 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.7"
+#DEPEND=">=dev-java/fastutil-6.5.4"
+RDEPEND=">=virtual/jre-1.7"
+
+S="${WORKDIR}/${PN}-r${PV}"
+
+src_compile() {
+ JAVACFLAGS="-source 1.7 -target 1.7" eant dist || die
+ #JAVACFLAGS="-source 1.7 -target 1.7" ant -Dmaven.mode.offline=true -Dbuild.sysclasspath=ignore -Dmaven.test.skip=true dist
+}
+
+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"
+
+ dodir /usr/share/${PN}/lib/lib/
+ java-pkg_jarinto /usr/share/${PN}/lib/lib/
+ java-pkg_dojar dist/lib/*.jar || die "java-pkg_dojar failed"
+
+ dodoc dist/README
+ doman dist/doc/mkgmap.1
+}