summaryrefslogtreecommitdiffstats
path: root/sci-geosciences/mkgmap/mkgmap-4315.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:16:40 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:16:40 +0200
commitb6d14cb5db40c2c8f80450b9ac2288d71b49ad68 (patch)
treeb181bb0859681f93ec19f3d568e2c0dd23d18211 /sci-geosciences/mkgmap/mkgmap-4315.ebuild
parentdd2aea324c07fe1bd13143bb37eff11117b6130a (diff)
downloaddarklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.gz
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.bz2
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.xz
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.zip
Fix some old packages
Diffstat (limited to 'sci-geosciences/mkgmap/mkgmap-4315.ebuild')
-rw-r--r--sci-geosciences/mkgmap/mkgmap-4315.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-geosciences/mkgmap/mkgmap-4315.ebuild b/sci-geosciences/mkgmap/mkgmap-4315.ebuild
new file mode 100644
index 0000000..d7b8393
--- /dev/null
+++ b/sci-geosciences/mkgmap/mkgmap-4315.ebuild
@@ -0,0 +1,39 @@
+# 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/download/${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
+}