diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-05-27 10:57:08 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-05-27 10:57:08 +0000 |
commit | bc6f7b26658c1a531b2b66691e8b6a850be8edee (patch) | |
tree | cf52255413456f0113efc6074b2ce37ec7ad4c15 | |
parent | stable x86, bug 271127 (diff) | |
download | historical-bc6f7b26658c1a531b2b66691e8b6a850be8edee.tar.gz historical-bc6f7b26658c1a531b2b66691e8b6a850be8edee.tar.bz2 historical-bc6f7b26658c1a531b2b66691e8b6a850be8edee.zip |
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
-rw-r--r-- | dev-java/jffi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jffi/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jffi/jffi-0.4.1.ebuild | 56 |
3 files changed, 65 insertions, 2 deletions
diff --git a/dev-java/jffi/ChangeLog b/dev-java/jffi/ChangeLog index 26b922d9e17a..43e3010cfbed 100644 --- a/dev-java/jffi/ChangeLog +++ b/dev-java/jffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jffi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/ChangeLog,v 1.1 2009/05/23 07:44:07 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/ChangeLog,v 1.2 2009/05/27 10:57:08 ali_bush Exp $ + +*jffi-0.4.1 (27 May 2009) + + 27 May 2009; Alistair Bush <ali_bush@gentoo.org> +jffi-0.4.1.ebuild: + Version Bump. New slot for api changes. *jffi-0.3-r2 (22 May 2009) diff --git a/dev-java/jffi/Manifest b/dev-java/jffi/Manifest index 5776e96cbcb7..016f6d54048a 100644 --- a/dev-java/jffi/Manifest +++ b/dev-java/jffi/Manifest @@ -1,4 +1,6 @@ DIST jffi-0.3.tar.bz2 1399294 RMD160 0bf761dae280e1201a971799cc1d1813657d05b7 SHA1 dafbbe968c9be0bc4fcb94618779d67cc1e65389 SHA256 5d3ee453e632824e09c102cf6d56f839de36b85a7882b7426f9f25e8c2d176c4 +DIST jffi-0.4.1.tar.bz2 1555550 RMD160 a4b516416784b61fd8543c907a5f60b199a59d57 SHA1 40c5bb0a35a93b9faef6c30bbbe3eb68845b4632 SHA256 9051fdfcd8e95e6205d189103f6dc357683cb8c9bbbab564f94fa8d99f7a80af EBUILD jffi-0.3-r2.ebuild 1774 RMD160 8ea9f89e98078f627ff48aa89971befa98ce762d SHA1 0f978fcc6a606250fe5de86d48a739fb4b5ee660 SHA256 cf389ffafa937b9f1bc6c594e2f19f32cd9e76c142d7d5bcc748092e55fc6fb5 -MISC ChangeLog 392 RMD160 5d89da1ba79e21ec3f0b0fa1ea100d48168a7ac8 SHA1 6eeea81e9e1840935612329670ebcec82e4a4ea4 SHA256 ae1422689cce15e5d25c5639b214503fb5ee959b9a5cc8c5da6b1ee00185356b +EBUILD jffi-0.4.1.ebuild 1777 RMD160 9eb068974e140f13d2671a059979a4924698142a SHA1 f61ec15b61cb49045c2daeb7adeeb6161877d10a SHA256 4c5c3a7aa1b94aed59aec37991f9d8a351d49c8c97e86da4d30e3df1f1e43599 +MISC ChangeLog 535 RMD160 62c3587798adff8b91122352787255523c3b74bc SHA1 98b29ac7aba5d4a40b2651c5c34f87e111372dab SHA256 0091f4186b0f194fe619dde0108af70a603e0decee8cf2b0bcee6449cfd4f37c MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b diff --git a/dev-java/jffi/jffi-0.4.1.ebuild b/dev-java/jffi/jffi-0.4.1.ebuild new file mode 100644 index 000000000000..d2c3cc01a442 --- /dev/null +++ b/dev-java/jffi/jffi-0.4.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jffi/jffi-0.4.1.ebuild,v 1.1 2009/05/27 10:57:08 ali_bush Exp $ + +# Probably best to leave the CFLAGS as they are here. See... +# http://weblogs.java.net/blog/kellyohair/archive/2006/01/compilation_of_1.html + +EAPI="2" +JAVA_PKG_IUSE="source test" +inherit base java-vm-2 java-pkg-2 java-ant-2 toolchain-funcs + +DESCRIPTION="An optimized Java interface to libffi" +HOMEPAGE="http://kenai.com/projects/jffi" +SRC_URI="mirror://gentoo//${P}.tar.bz2" +LICENSE="LGPL-3" +SLOT="0.4" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.5 + >=sys-devel/gcc-4.3[libffi]" + +DEPEND=">=virtual/jdk-1.5 + >=sys-devel/gcc-4.3[libffi] + test? ( dev-java/ant-junit4 )" + +pkg_setup() { + if (( `gcc-major-version` < 4 )) || (( `gcc-minor-version` < 3 )) ; then + eerror "gcc 4.3 or greater is needed to build and run this. You seem to have a" + eerror "sufficient version installed but you need to select it with gcc-config." + die "gcc 4.3 or greater must be selected" + fi +} + +JAVA_PKG_BSFIX_NAME="build-impl.xml" + +java_prepare() { + # Delete the bundled JARs. + find lib -name "*.jar" -delete || die + + # Fetch our own prebuilt libffi. + mkdir -p "build/jni/libffi-$(get_system_arch)-linux/.libs" || die + ln -snf "${ROOT}`_gcc-install-dir`/libffi.so" "build/jni/libffi-$(get_system_arch)-linux/.libs/libffi_convenience.a" || die + + # Don't include prebuilt files for other archs. + sed -i '/<zipfileset src="archive\//d' custom-build.xml || die +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + use source && java-pkg_dosrc src/* +} + +src_test() { + ANT_TASKS="ant-junit4" eant test -Dlibs.junit_4.classpath="$(java-pkg_getjars --with-dependencies junit-4)" +} |