diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/willuhn-hbci4java/Manifest | 3 | ||||
-rw-r--r-- | net-libs/willuhn-hbci4java/files/java_home.patch | 10 | ||||
-rw-r--r-- | net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild | 69 |
3 files changed, 81 insertions, 1 deletions
diff --git a/net-libs/willuhn-hbci4java/Manifest b/net-libs/willuhn-hbci4java/Manifest index 934cb70..494f4ac 100644 --- a/net-libs/willuhn-hbci4java/Manifest +++ b/net-libs/willuhn-hbci4java/Manifest @@ -1,6 +1,7 @@ +AUX java_home.patch 626 SHA256 6a8e5e359745e53fe52e44ee8ebea6faceffd4e24a7979b374eaee297243b977 SHA512 aad935c81cec04af54cb417829d770d77dde5ecbda5f45f92ea55519daee09e567cb54872c129bbbf8de168ce839374e9425de803b5eac4bf0418c714f73ca83 WHIRLPOOL 319c775a5c8e6fd8543938e6378c8bbe0ea737c9bec3e9f8f12dad700f4097b8ab6d9611ec3744a6ee72f58b3d969bd6d87a64e8a8e2e20f554a1482d30e9c87 DIST willuhn-hbci4java-2.5.12_p20130130.zip 4707337 SHA256 560b9d9120780f955aef1a27a92ae0473c4c3bb82791eea212763631f9ee0f57 SHA512 235195618fd109d3cff2a3a4af2c62a806e0c7b058c2b9c143fca95210e6c797dc1abc388b8c05b33d7892e996c5f36949f293f33ae5759731df3b9d3dd32814 WHIRLPOOL fcb3f16bccd14e54615b47986519d5ddfb14caa0d3a8c0f7d5699a5b405f3dc2bea9a3727a9d3626cf82a28f4f35b90a42d0da2fac265ef05966aebc9c7c5f5d DIST willuhn-hbci4java-2.5.12_p20131218.zip 5478972 SHA256 bc4f8cd6d7d1216f36b8c82048917ca776580a68c09bbb44c5d00a2be8b452cf SHA512 86ab21cc0a1074de5dae453c78be798cf6f02268c5ae4d4c51d7b697d6fd589706640ed6bb9ec464ff40552b37055e1083fb6dd552b2adddcaa1ddd6f1db1162 WHIRLPOOL 734b2ab83d529f41a96ec9da480a89e4ffac4a5f1d68b5809442cc665371015b9cea466d122b0278d07e6b091097e2456568d55361af33b544112e17f125b5df DIST willuhn-hbci4java-2.5.12_p30.tar.gz 2833964 SHA256 6fd541c02384d64ece3e032a7b0650bf52d86ea89c9afb439df1bb1ad471ed19 SHA512 ac2371b886decf692fb8afdb58a810e613679d7984b3d6853e778d7559c4127fc0fac4bf387ec789e4c8ad3ab95c5e4ce17e3fbde0ec478648f1ed53cff8f69c WHIRLPOOL e2e094e8b8eea845a66780b09c0112384fb9cc6624ec1a919206b60ac9246b32ca92ad3fa294e19841666c0a9347e9192a32fbf782e3ddcfeceeb8f54012a694 EBUILD willuhn-hbci4java-2.5.12_p20130130.ebuild 1471 SHA256 909b60ce4ad8832f6a7be5b2d8d670582ee636d36147f472a85ac2bd770c6a95 SHA512 46e1cc77cf7a790f31c3a8544f43c36ce949787e67a51fd071e002e5c90075895830dda80f619176e176c3beb4fc958c6da29d576f6520b69e176ebb9c8af5ee WHIRLPOOL 7558ba504472d1d58c725284b9c004c4300ff477b47470473f5ec7e5473dfcf663590fe948baee70d3489824d19dc09225d89e729055485bbf4a0d0524409d9c -EBUILD willuhn-hbci4java-2.5.12_p20131218.ebuild 1471 SHA256 d317e73e47d4694e914d2cbc56b75b35cf1c0dda344686cbe5addd8a550d70b7 SHA512 623d2963fb5cea997eadcdb2caae8d90da4433fff0fa36c1b22515b2e4857d539e657131d513bc1359df55ede934238131e8c8c020ecc2e62fe76dce2c4629c2 WHIRLPOOL 7e2df0ebc533bde5db481e4448a30a70ec8440c64fae0e0a05846df084e47a680f5da15fa6bf2f2578453fa1e48cccb577503f16df4f3aae31f1e184728e6ab8 +EBUILD willuhn-hbci4java-2.5.12_p20131218.ebuild 1528 SHA256 4be86e3732bb4bc663921ac694e72d234d022c4c1ec323253f581c61012ce56b SHA512 1691f2d00e094088827159f83ef6f08a17e9ede97e0a1e513a0abd8a6b6787cd596da2bbeb43e2876d1cdf75824f7f4aac05e366809546705056a4f625673828 WHIRLPOOL 21660424a4038a4f0b154fee26c5a4be2f78c8a2cd828d99aad34044372bd27827934e292118fd494da4ed47e3a062c25ab334d9ac86beb1042c0230e9b05aab EBUILD willuhn-hbci4java-2.5.12_p30.ebuild 1448 SHA256 7e699f4f145141bda9cf00eaff1f8d8efdec0c93048506835c2a95d6bcf31de2 SHA512 8e1d4e5bb2ff89dd8f18ad123d45d3dde01e143381747b76639819b07d4773492f745024aa390b9ddea01952e14f02e62c09a28d257f11d6f373757f076eff88 WHIRLPOOL 7ca63a362a206ece683a88df617786c99570e545e6c3b2b7a26c25d3661335c21385e2f45860b8cc49ee2e77be99573ad6569193a573d373bb5d241ff34ae4c8 diff --git a/net-libs/willuhn-hbci4java/files/java_home.patch b/net-libs/willuhn-hbci4java/files/java_home.patch new file mode 100644 index 0000000..4d443ed --- /dev/null +++ b/net-libs/willuhn-hbci4java/files/java_home.patch @@ -0,0 +1,10 @@ +Index: hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile +=================================================================== +--- hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d.orig/chipcard/src/frontend/Makefile ++++ hbci4java-dc095021274a54aeb8778b20ed22e84ddf0f5a8d/chipcard/src/frontend/Makefile +@@ -1,4 +1,4 @@ +-JAVA_HOME = $(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::") ++JAVA_HOME = ${JAVA_HOME-$(shell readlink -f /usr/bin/javac | sed "s:/bin/javac::")} + DEFINES = -D__UNIX + INCLUDES = -I../include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux + WARNINGS = -Wall diff --git a/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild new file mode 100644 index 0000000..3f9bea6 --- /dev/null +++ b/net-libs/willuhn-hbci4java/willuhn-hbci4java-2.5.12_p20131218.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +WANT_ANT_TASKS="ant-nodeps" +inherit eutils java-pkg-2 java-ant-2 + +COMMIT="dc095021274a54aeb8778b20ed22e84ddf0f5a8d" + +DESCRIPTION="A Java Library for HBCI/FinTS (Hibiscus Branch)" +HOMEPAGE="https://github.com/willuhn/hbci4java" +SRC_URI="https://github.com/willuhn/hbci4java/archive/${COMMIT}.zip -> ${P}.zip" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+smartcard" + +S="${WORKDIR}/hbci4java-${COMMIT}" + +COMMON_DEP=" + dev-java/xerces:2 + >=dev-java/log4j-1.2.8:0 + !net-libs/hbci4java + smartcard? ( sys-libs/pcsc-ctapi-wrapper )" + +RDEPEND=">=virtual/jre-1.6 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${COMMON_DEP}" + +# JNI libraries don't need SONAME +QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so" + +EANT_BUILD_TARGET="package" + +#pkg_setup() { +# use smartcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}" +#} + +src_unpack() { + unpack ${A} + mv ${PN}-* "${S}" +} + +java_prepare() { + epatch ${FILESDIR}/java_home.patch + eant clean + rm -f chipcard/lib/* +} + +src_install() { + java-pkg_newjar dist/jar/hbci4java.jar + + if use smartcard; then + dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed" + use amd64 && dosym libhbci4java-card-linux.so /usr/$(get_libdir)/libhbci4java-card-linux-64.so + fi + + dodoc readme.md || die "dodoc failed" + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/org +} |