summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-28 19:56:18 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-28 19:56:18 +0000
commitf1a3f2e69a018cd1a67422574a63fbcc658df348 (patch)
tree54f4b1ed9c38c43ff10910a9726f03d57e0922dd /sci-libs/cbflib
parentAutomated update of use.local.desc (diff)
downloadhistorical-f1a3f2e69a018cd1a67422574a63fbcc658df348.tar.gz
historical-f1a3f2e69a018cd1a67422574a63fbcc658df348.tar.bz2
historical-f1a3f2e69a018cd1a67422574a63fbcc658df348.zip
Version Bump, #317261
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/cbflib')
-rw-r--r--sci-libs/cbflib/ChangeLog8
-rw-r--r--sci-libs/cbflib/Manifest11
-rw-r--r--sci-libs/cbflib/cbflib-0.9.0.ebuild67
-rw-r--r--sci-libs/cbflib/files/0.9.0-Makefile.patch69
4 files changed, 150 insertions, 5 deletions
diff --git a/sci-libs/cbflib/ChangeLog b/sci-libs/cbflib/ChangeLog
index 43f45b9eae3f..aec893190f6c 100644
--- a/sci-libs/cbflib/ChangeLog
+++ b/sci-libs/cbflib/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/cbflib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.7 2010/03/31 20:25:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.8 2010/04/28 19:56:17 jlec Exp $
+
+*cbflib-0.9.0 (28 Apr 2010)
+
+ 28 Apr 2010; Justin Lecher <jlec@gentoo.org> +files/0.9.0-Makefile.patch,
+ +cbflib-0.9.0.ebuild:
+ Version Bump, #317261
*cbflib-0.8.1-r7 (31 Mar 2010)
diff --git a/sci-libs/cbflib/Manifest b/sci-libs/cbflib/Manifest
index 97e022884193..c24035211862 100644
--- a/sci-libs/cbflib/Manifest
+++ b/sci-libs/cbflib/Manifest
@@ -2,14 +2,17 @@
Hash: SHA1
AUX 0.8.1-Makefile.patch 1382 RMD160 79a344ee3654403ade4ddbc1a3bd1133f47e4e79 SHA1 7311cdafc01881555403cafb62e09a4f467f3e22 SHA256 92b3108840d2ccf7392ac24db52bb86fed7a9561cb3db9ccbf29e6c4e9e76cc5
+AUX 0.9.0-Makefile.patch 2102 RMD160 25ac33c49465db16db1931ea097d5c52bf08bea4 SHA1 de30e174f80c03f720d86acd6c732dc3d72962aa SHA256 53dded9277ebd53279dd1a3670f7bc8de06fbb0723b3700525fc5784dd4d2657
DIST CBFlib-0.8.1.tar.gz 3532726 RMD160 e2b82cabaeb7da07ca547822f7b3ac8871f6f467 SHA1 2b17b7f79c0e32e0a5a22aa43c93c170296e6d02 SHA256 197660197d0f861da26764d67fcf92fd75cfa3ad1da30df02fb33e6d67c6b5e3
+DIST CBFlib-0.9.0_14Feb10.tar.gz 4456643 RMD160 a90052a584f982df456a9426d07f2fd506c55ef4 SHA1 b05ab50f6a9f921444f3bb27cbbc72797be4f41f SHA256 7f79d0de9b07b6c544f2da1bf66b83460006fca75a36eacbbc8f839694ff2eba
EBUILD cbflib-0.8.1-r7.ebuild 1677 RMD160 caad43d73d2cf612a149d5fdc971cf65dd425f3b SHA1 82bf6ee604a087f90132612dbc294461645398df SHA256 3408beb2ca2d6e4e9b62a787118faba842ab2b0235cff16540bc0e6fa266cd98
-MISC ChangeLog 1447 RMD160 8d1a4f0596eb64ebf3d4260bbb98f9c17a7b853f SHA1 8de311e7f810e0b973aa9bba64ae5147f76a09ea SHA256 01c85471777313e7f0f5a7bfcfa2ce3180e8f4d38f1e93da711eac0addc524ae
+EBUILD cbflib-0.9.0.ebuild 1695 RMD160 53c33490d7514bd5501c4328dd0c9df514d507a3 SHA1 8e10a62aef409020acb01a903f57529644aff3f6 SHA256 b8888f3d8d4aa378b366f2cdea1d9ce60104f13e365a98956cbe086f696213fb
+MISC ChangeLog 1601 RMD160 286570331c401d103012b8d9d5c7bd7628a19205 SHA1 0501a4b6c998c7e26f73881d9384e1ef73163815 SHA256 21eaf902260817fcb170886eb69f3618038066965a370425109d4f6a9efcfe97
MISC metadata.xml 872 RMD160 65a3873ad810c058abebf748ebdbc29a0da05e2d SHA1 df579c7f63aff50d1e3877013bf62e6ae9a2a438 SHA256 60351f0290d2947caddf8470468b8891dd63dd00545af8099859bde40eda1f49
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkuzr6sACgkQgAnW8HDreRYDGQCeIqdr/GnT/Qb9+Y+iHisBs6y3
-CGcAoKceMsYzfTiH9gnqT22DS4Cak8Nw
-=5ZPG
+iEYEARECAAYFAkvYkucACgkQgAnW8HDreRYuSgCgvKiTjfgvOcJ2lZfYg3OcGdGO
++IQAnRe+lZ0vCEbI1uobLjsEe1gDAymT
+=lnPx
-----END PGP SIGNATURE-----
diff --git a/sci-libs/cbflib/cbflib-0.9.0.ebuild b/sci-libs/cbflib/cbflib-0.9.0.ebuild
new file mode 100644
index 000000000000..1e8fb654878d
--- /dev/null
+++ b/sci-libs/cbflib/cbflib-0.9.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0.ebuild,v 1.1 2010/04/28 19:56:17 jlec Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_P1="CBFlib-${PV}"
+MY_P2="CBFlib_${PV}"
+
+DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files."
+HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
+#BASE_TEST_URI="http://arcib.dowling.edu/software/CBFlib/downloads/version_${PV}/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P1}_14Feb10.tar.gz"
+# test? (
+# ${BASE_TEST_URI}/${MY_P2}_Data_Files_Input.tar.gz
+# ${BASE_TEST_URI}/${MY_P2}_Data_Files_Output.tar.gz
+# )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+#RDEPEND=""
+#DEPEND="test? ( sys-process/time )"
+
+S="${WORKDIR}/${MY_P1}"
+
+src_prepare(){
+ rm -rvf Py*
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+ cp Makefile_LINUX_gcc42 Makefile
+
+ append-fflags -fno-range-check
+ append-cflags -D_USE_XOPEN_EXTENDED
+
+ sed \
+ -e "s:^CC.*$:CC = $(tc-getCC):" \
+ -e "s:^C++.*$:C++ = $(tc-getCXX):" \
+ -e "s:C++:CXX:g" \
+ -e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:" \
+ -e "s:^F90C.*$:F90C = $(tc-getFC):" \
+ -e "s:^F90FLAGS.*$:F90FLAGS = ${FFLAGS}:" \
+ -e "s:^SOLDFLAGS.*$:SOLDFLAGS = -shared ${LDFLAGS}:g" \
+ -e "s: /bin: ${EPREFIX}/bin:g" \
+ -e "s:/usr:${EPREFIX}/usr:g" \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake -j1 shared || die
+}
+
+# test app is borked in this version
+# produces buffer overflows
+#src_test(){
+# emake -j1 tests || die
+#}
+
+src_install() {
+ insinto /usr/include/${PN}
+ doins include/* || die
+
+ dolib.so solib/* || die
+}
diff --git a/sci-libs/cbflib/files/0.9.0-Makefile.patch b/sci-libs/cbflib/files/0.9.0-Makefile.patch
new file mode 100644
index 000000000000..27ecdff88fc1
--- /dev/null
+++ b/sci-libs/cbflib/files/0.9.0-Makefile.patch
@@ -0,0 +1,69 @@
+diff --git a/Makefile_LINUX_gcc42 b/Makefile_LINUX_gcc42
+index 52c5286..5d922a7 100644
+--- a/Makefile_LINUX_gcc42
++++ b/Makefile_LINUX_gcc42
+@@ -282,7 +282,7 @@ SHAR = /usr/bin/shar
+ #
+ # Program to use to create archives
+ #
+-AR = /usr/bin/ar
++AR = ar
+
+ #
+ # Program to use to add an index to an archive
+@@ -292,13 +292,13 @@ RANLIB = /usr/bin/ranlib
+ #
+ # Program to use to decompress a data file
+ #
+-DECOMPRESS = /usr/bin/bunzip2
++DECOMPRESS = bunzip2
+
+
+ #
+ # Program to use to compress a data file
+ #
+-COMPRESS = /usr/bin/bzip2
++COMPRESS = bzip2
+
+ #
+ # Program to use to generate a signature
+@@ -486,9 +486,9 @@ F90SOURCE = $(SRC)/fcb_atol_wcnt.f90 \
+ $(SRC)/fcb_read_image.f90 \
+ $(SRC)/fcb_read_line.f90 \
+ $(SRC)/fcb_read_xds_i2.f90 \
+- $(SRC)/fcb_skip_whitespace.f90 \
+- $(EXAMPLES)/test_fcb_read_image.f90 \
+- $(EXAMPLES)/test_xds_binary.f90
++ $(SRC)/fcb_skip_whitespace.f90
++# $(EXAMPLES)/test_fcb_read_image.f90 \
++# $(EXAMPLES)/test_xds_binary.f90
+
+
+ #
+@@ -849,7 +849,7 @@ endif
+ $(SOLIB)/libcbf.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ $(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(SOURCE)
+ mv *.o $(SOLIB)
+- $(CC) -o $@ $(SOLIB)/*.o $(SOLDFLAGS) $(EXTRALIBS)
++ $(CC) $(LDFLAGS) -Wl,-soname,libcbf.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ $(SOLIB)/*.o $(EXTRALIBS)
+
+ #
+ # IMG library
+@@ -864,7 +864,7 @@ endif
+
+ $(SOLIB)/libimg.so: $(SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ $(CC) $(CFLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(EXAMPLES)/img.c
+- $(CC) -o $@ img.o $(SOLDFLAGS)
++ $(CC) $(LDFLAGS) -Wl,-soname,libimg.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) -o $@ img.o
+ rm img.o
+
+ #
+@@ -891,7 +891,7 @@ endif
+ $(SOLIB)/libfcb.so: $(F90SOURCE) $(HEADERS) $(COMMONDEP) $(SOLIB)
+ ifneq ($(F90C),)
+ $(F90C) $(F90FLAGS) $(SOCFLAGS) $(INCLUDES) $(WARNINGS) -c $(F90SOURCE)
+- $(F90C) $(F90FLAGS) -o $@ *.o $(SOLDFLAGS)
++ $(F90C) $(LDFLAGS) -Wl,-soname,libfcb.so.$(VERSION) $(SOCFLAGS) $(SOLDFLAGS) $(F90FLAGS) -o $@ *.o
+ rm *.o
+ else
+ echo "Define F90C to build $(SOLIB)/libfcb.so"