diff options
author | Fabian Köster <koesterreich@fastmail.fm> | 2012-10-27 10:43:08 +0200 |
---|---|---|
committer | Fabian Köster <koesterreich@fastmail.fm> | 2012-10-27 10:43:08 +0200 |
commit | dd83a8774c3ff6d488e78dc450c4a323fb4bb776 (patch) | |
tree | 0fa62a20c45e957bf21874f6f9b4af419eba2936 /net-libs/hbci4java/hbci4java-2.5.12.ebuild | |
download | hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.tar.gz hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.tar.bz2 hibiscus-dd83a8774c3ff6d488e78dc450c4a323fb4bb776.zip |
Initial commit
Diffstat (limited to 'net-libs/hbci4java/hbci4java-2.5.12.ebuild')
-rw-r--r-- | net-libs/hbci4java/hbci4java-2.5.12.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/hbci4java/hbci4java-2.5.12.ebuild b/net-libs/hbci4java/hbci4java-2.5.12.ebuild new file mode 100644 index 0000000..d997072 --- /dev/null +++ b/net-libs/hbci4java/hbci4java-2.5.12.ebuild @@ -0,0 +1,60 @@ +# 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 + +DESCRIPTION="A Java Library for HBCI (Homebanking Computer Interface) / FinTS (Financial Transaction Services)" +HOMEPAGE="http://hbci4java.kapott.org/" +SRC_URI="http://hbci4java.kapott.org/${P}-src.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="+chipcard" + +COMMON_DEP=" + dev-java/xerces:2 + >=dev-java/log4j-1.2.8:0 + !net-libs/willuhn-hbci4java" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR}/${P}-src + +# JNI libraries don't need SONAME +QA_SONAME="usr/$(get_libdir)/lib${PN}-chipcard-linux.so" + +EANT_BUILD_TARGET="package" + +pkg_setup() { + use chipcard && EANT_BUILD_TARGET="compile-chipcard ${EANT_BUILD_TARGET}" +} + +java_prepare() { + epatch "${FILESDIR}/${PV}-makefile.patch" + epatch "${FILESDIR}/${PV}-build.patch" + eant clean +} + +src_install() { + java-pkg_newjar dist/jar/${PN}.jar + + if use chipcard; then + dolib chipcard/lib/libhbci4java-card-linux.so || "dolib failed" + fi + + dodoc README* FEATURES BUGS ChangeLog || die "dodoc failed" + + use doc && java-pkg_dojavadoc doc/javadoc + use source && java-pkg_dosrc src/org +} |