summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/libmatthew-java')
-rw-r--r--dev-java/libmatthew-java/ChangeLog11
-rw-r--r--dev-java/libmatthew-java/Manifest13
-rw-r--r--dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch2
-rw-r--r--dev-java/libmatthew-java/libmatthew-java-0.7.2-r1.ebuild43
4 files changed, 61 insertions, 8 deletions
diff --git a/dev-java/libmatthew-java/ChangeLog b/dev-java/libmatthew-java/ChangeLog
index e750cd19dc9d..71cf4ed1a7a0 100644
--- a/dev-java/libmatthew-java/ChangeLog
+++ b/dev-java/libmatthew-java/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/libmatthew-java
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libmatthew-java/ChangeLog,v 1.12 2010/05/28 19:31:15 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libmatthew-java/ChangeLog,v 1.13 2010/08/30 16:17:36 serkan Exp $
+
+*libmatthew-java-0.7.2-r1 (30 Aug 2010)
+
+ 30 Aug 2010; Serkan Kaba <serkan@gentoo.org>
+ +libmatthew-java-0.7.2-r1.ebuild,
+ files/libmatthew-java-0.7.2-makefile-fixes.patch:
+ Revbump to respect LDFLAGS. Thanks to Diego E. Pettenò
+ <flameeyes@gentoo.org> for the help.
+ Drop -Werror from the Makefile.
28 May 2010; Joseph Jezak <josejx@gentoo.org>
libmatthew-java-0.7.2.ebuild:
diff --git a/dev-java/libmatthew-java/Manifest b/dev-java/libmatthew-java/Manifest
index 4bf6a77f7b28..569bb4ead9dc 100644
--- a/dev-java/libmatthew-java/Manifest
+++ b/dev-java/libmatthew-java/Manifest
@@ -2,17 +2,18 @@
Hash: SHA1
AUX libmatthew-java-0.7.1-makefile-fixes.patch 2288 RMD160 adb1357ad770dfd4ee805dd5ae69c0922a1ce524 SHA1 5cfedda8f28bb63b116e1eb780b035e9f0f91bac SHA256 e7e215791193681ae3baa0612c4d9bcc5ef32dbd605eec137926aa81a70000e9
-AUX libmatthew-java-0.7.2-makefile-fixes.patch 2528 RMD160 932bd2748208d23cd525b10106dee057d3601d9e SHA1 baf462173b951b9f5a0bee23c4cebe62b0954ce1 SHA256 e869e27cbc7a4a904f5e4dee2b73c85ae98399e3ec5c6ed4c1b15a1fcdc31723
+AUX libmatthew-java-0.7.2-makefile-fixes.patch 2520 RMD160 07b4ecdf780edfdc748afabae39b79fc7ec7e73e SHA1 9e891f59a0f5a7e67186393184bfbab8324b8574 SHA256 15e0f3457d83a7a47843bbe46ddbc72a26075c9d343a86cd45ce6dba31c22e51
DIST libmatthew-java-0.7.1.tar.gz 35894 RMD160 6fc479ac9724f0446d60373df6fb09721e483464 SHA1 3350eb4508ff13261b9b21f54ab3b28dc2cfc22a SHA256 003c44be21859d1495c0571e249ce17edd5ac58636f67b6a8bc4f395a6c7e6a2
DIST libmatthew-java-0.7.2.tar.gz 40601 RMD160 df36c454f52b0c801cfebf290b07bf7ccd600d71 SHA1 f696dcbda0f2430bab60047afc5ca0ab69b96d3e SHA256 9f48a00caa8c9731d7056346ba72445ebca508e17715e32e310aee45ef36ed03
EBUILD libmatthew-java-0.7.1.ebuild 1445 RMD160 55e6e5d75a44280a54eb124e7656587f72047a5a SHA1 0dfe5c249dc5fe8bca564959505911ded5bca02e SHA256 be88a10b3e30fcd6b65e7a04e0d22d8361cedd22e580bdfe8828187242516bd0
+EBUILD libmatthew-java-0.7.2-r1.ebuild 1423 RMD160 f2b52ef590db5e015abb1d5dd20288f4c076f9d3 SHA1 41b3f90e9649fcd0f4dffabfdd0ae910ea16e428 SHA256 e319b316c3953245a06dcf78fb52af758259ef9b574c64026d32adadc964cb64
EBUILD libmatthew-java-0.7.2.ebuild 1444 RMD160 a8703d0c5dadc27cb2636817ed0b32ac93229e18 SHA1 2440dcf7041cd555b2d771b1c64db467853dac21 SHA256 1f6b652ece39f3b3f4a3668a9a13e35e7dacf50d9bf2d71b17ce4d9f02483f36
-MISC ChangeLog 2045 RMD160 7d90e7904c5962aeaf61f80511ec4b6e2a88e625 SHA1 a4f7e7b51e00124a3d35470f1051dbe182e57eb7 SHA256 4a98e325708b63f607a96f538c556b24d3b14426e0be5ee4b6c79c58cc526924
+MISC ChangeLog 2353 RMD160 e568ce04d8a921a18c2f08aa60d8a6c0365fbc90 SHA1 b2b72720788f3c6d405acf0c7d7372dccd374129 SHA256 ab599cba896e807de58b6922f8aae5d8b6f07acb8b85218aea28280aa6828c10
MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkwAGdoACgkQcsIHjyDViGTIXACgkDELpsUuSImz/iHXf8iSgRcL
-7sEAoKaQpqrWn3FiCAPxyyvaMH9h3Xpc
-=gf9M
+iEYEARECAAYFAkx72aUACgkQRh6X64ivZaKmpACZAZsdRRO6e8rJYw+ugTuDiWwz
+/mMAnAqcW9Aw6Q/KqGGkRczcDc2Ebg3U
+=MiIj
-----END PGP SIGNATURE-----
diff --git a/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch b/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch
index 40fde3db649c..1720f01c48db 100644
--- a/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch
+++ b/dev-java/libmatthew-java/files/libmatthew-java-0.7.2-makefile-fixes.patch
@@ -6,7 +6,7 @@ diff -Nur libmatthew-java-0.7.2/Makefile libmatthew-java-0.7.2_patched/Makefile
LD?=gcc
JPPFLAGS+=-C -P
-CFLAGS+=-Wall -Os -pedantic -Werror
-+CFLAGS+=-Wall -pedantic -Werror
++CFLAGS+=-Wall -pedantic
CSTD?=-std=c99
CSHAREFLAG+=-fpic -fno-stack-protector
GCJJNIFLAG=-fjni
diff --git a/dev-java/libmatthew-java/libmatthew-java-0.7.2-r1.ebuild b/dev-java/libmatthew-java/libmatthew-java-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..d80342dda65d
--- /dev/null
+++ b/dev-java/libmatthew-java/libmatthew-java-0.7.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libmatthew-java/libmatthew-java-0.7.2-r1.ebuild,v 1.1 2010/08/30 16:17:36 serkan Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit eutils java-pkg-2 flag-o-matic toolchain-funcs
+
+DESCRIPTION="A selection of libraries for Java"
+HOMEPAGE="http://www.matthew.ath.cx/projects/java/"
+SRC_URI="http://www.matthew.ath.cx/projects/java/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-makefile-fixes.patch
+ rm -v "${S}"/cx/ath/matthew/debug/Debug.java || die "rm failed"
+}
+
+src_compile() {
+ CC=$(tc-getCC) LD=$(tc-getCC) INCLUDES="$(java-pkg_get-jni-cflags)" \
+ emake -j1 JARDIR=/usr/share/libmatthew-java/lib JCFLAGS="$(java-pkg_javac-args)" all $(usev doc) || die "emake failed"
+}
+
+src_install() {
+ java-pkg_newjar cgi-0.5.jar cgi.jar
+ java-pkg_newjar debug-disable-1.1.jar debug-disable.jar
+ java-pkg_newjar debug-enable-1.1.jar debug-enable.jar
+ java-pkg_newjar hexdump-0.2.jar hexdump.jar
+ java-pkg_newjar io-0.1.jar io.jar
+ java-pkg_newjar unix-0.5.jar unix.jar
+ java-pkg_doso libcgi-java.so
+ java-pkg_doso libunix-java.so
+ dodoc INSTALL changelog README || die
+ use source && java-pkg_dosrc cx/
+ use doc && java-pkg_dojavadoc doc
+}