diff options
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/mkgmap/Manifest | 4 | ||||
-rw-r--r-- | sci-geosciences/mkgmap/mkgmap-3620.ebuild | 7 | ||||
-rw-r--r-- | sci-geosciences/mkgmap/mkgmap-4315.ebuild | 39 |
3 files changed, 45 insertions, 5 deletions
diff --git a/sci-geosciences/mkgmap/Manifest b/sci-geosciences/mkgmap/Manifest index d14460c..cefbb77 100644 --- a/sci-geosciences/mkgmap/Manifest +++ b/sci-geosciences/mkgmap/Manifest @@ -1,2 +1,4 @@ DIST mkgmap-r3620-src.tar.gz 1685777 BLAKE2B 5398b017f613b8296603d9577ad323583d750b655c820e69c48c81402d21265ebd094ebff2b4f6d33ba7f045e92ba4f238438a3fe0c9e8805c9c96f4fd9e1fc9 SHA512 1dfefb323fedb84cb39a316064c7f3d3c6b8c0a1616b7dfbee7cf7e8b6c4046a526f2460262a25d4f89750c6debe29051eaa01ba6ccd6478e61bc735d5890a75 -EBUILD mkgmap-3620.ebuild 1164 BLAKE2B 196b7be8967ac6be65c5a14de132273425b28dc37be34c865a80cccdcf75452ac135b9a532d876ae548bc9cc4ebce9247156b79e3123bdcb0deaabe9691b794a SHA512 89c9c4a3391ba1f53ab52e0adc494e7c090d67c9662ca3249c3352f1ef925431d132c5df705d7db3044609e56c9099368a0c2ebad7d3f4cc52776179c17d9af5 +DIST mkgmap-r4315-src.tar.gz 1774433 BLAKE2B b97081d80ab25db975681ad7ae28e5b896d65110c6e94e9c22882b621aa5d1b49fb296fa94a7f48c69ba42fd9906f2b3466335837d02386356b46a25e6d9e32f SHA512 14bbb47de50c9a0a9516a7c4fbeb752cf876a3fe63d1c56213d71ed6775e51cc210c24fe4a9bce993741da495a932483acbe875dd5ae70c9042bc927b01e622b +EBUILD mkgmap-3620.ebuild 1162 BLAKE2B 63b1dc9eb6feb07c1eab0142586748f429bac57e82f02b3383cf8856107fb964993e798a10d918ae19489f3d036bd0dff990e678df750c88f3b17fac0ee2fcb1 SHA512 369ae5ead7eb2552987829fcaba80e2724ae1ec80a75b73038793dc2f4999691adcf31f4b760e56dad392277b29d9005d8417443cf8633f7d029762c132513fb +EBUILD mkgmap-4315.ebuild 1164 BLAKE2B 96147183c8d2d79a75221ff8e0e6010a34d5c71baa0bb684e0ce2ef20f27744e2ce8df4ec6b0acb706f97c29f6b6355ecf01f08b2aa5ddfcb8d18170ce020962 SHA512 1cb10f1b31a18d78f4eda1fcab53de8e1ca861a8e7398a39af0e10834de6b36505a1605a7401495fa8e59216e952bbcb5f8431467307b66fa32007d8644f5f51 diff --git a/sci-geosciences/mkgmap/mkgmap-3620.ebuild b/sci-geosciences/mkgmap/mkgmap-3620.ebuild index 31feb0e..653cd44 100644 --- a/sci-geosciences/mkgmap/mkgmap-3620.ebuild +++ b/sci-geosciences/mkgmap/mkgmap-3620.ebuild @@ -9,8 +9,7 @@ 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" - +SRC_URI="http://www.mkgmap.org.uk/download/${PN}-r${PV}-src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" @@ -23,8 +22,8 @@ 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 + #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() { 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 +} |