summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-05-30 08:16:26 +0000
committerJustin Lecher <jlec@gentoo.org>2012-05-30 08:16:26 +0000
commitdfb4dc15ba474fd12eb6519a42d07cfc7c0308dc (patch)
tree82c4b215f5071e6e0d4bc44d2e6770b78c452d03 /dev-libs/libjwc_c
parentmarked x86 per bug 417571 (diff)
downloadgentoo-2-dfb4dc15ba474fd12eb6519a42d07cfc7c0308dc.tar.gz
gentoo-2-dfb4dc15ba474fd12eb6519a42d07cfc7c0308dc.tar.bz2
gentoo-2-dfb4dc15ba474fd12eb6519a42d07cfc7c0308dc.zip
dev-libs/libjwc_c: Move to EAPI=4, fix underlinking, handle static-libs
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libjwc_c')
-rw-r--r--dev-libs/libjwc_c/ChangeLog10
-rw-r--r--dev-libs/libjwc_c/libjwc_c-1.1-r2.ebuild31
-rw-r--r--dev-libs/libjwc_c/metadata.xml8
3 files changed, 43 insertions, 6 deletions
diff --git a/dev-libs/libjwc_c/ChangeLog b/dev-libs/libjwc_c/ChangeLog
index 78ce0795d947..21496cc7d898 100644
--- a/dev-libs/libjwc_c/ChangeLog
+++ b/dev-libs/libjwc_c/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libjwc_c
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjwc_c/ChangeLog,v 1.5 2011/01/23 12:54:24 tomka Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjwc_c/ChangeLog,v 1.6 2012/05/30 08:16:26 jlec Exp $
+
+*libjwc_c-1.1-r2 (30 May 2012)
+
+ 30 May 2012; Justin Lecher <jlec@gentoo.org> +libjwc_c-1.1-r2.ebuild,
+ metadata.xml:
+ Move to EAPI=4, fix underlinking, handle static-libs
23 Jan 2011; Thomas Kahle <tomka@gentoo.org> libjwc_c-1.1-r1.ebuild:
x86 stable per bug 351770
diff --git a/dev-libs/libjwc_c/libjwc_c-1.1-r2.ebuild b/dev-libs/libjwc_c/libjwc_c-1.1-r2.ebuild
new file mode 100644
index 000000000000..1ebb6735ab77
--- /dev/null
+++ b/dev-libs/libjwc_c/libjwc_c-1.1-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjwc_c/libjwc_c-1.1-r2.ebuild,v 1.1 2012/05/30 08:16:26 jlec Exp $
+
+EAPI=4
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils
+
+PATCH="612"
+
+DESCRIPTION="additional c library for ccp4"
+HOMEPAGE="http://www.ccp4.ac.uk/main.html"
+SRC_URI="ftp://ftp.ccp4.ac.uk/jwc/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="static-libs"
+
+DEPEND="sci-libs/ccp4-libs"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PATCH}-gentoo.patch )
+
+src_prepare() {
+ rm missing || die
+ echo "libjwc_c_la_LIBADD = -lm -lccp4f" >> Makefile.am || die
+ autotools-utils_src_prepare
+}
diff --git a/dev-libs/libjwc_c/metadata.xml b/dev-libs/libjwc_c/metadata.xml
index efb490d78817..d747d72a25b4 100644
--- a/dev-libs/libjwc_c/metadata.xml
+++ b/dev-libs/libjwc_c/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>sci@gentoo.org</email>
-</maintainer>
+ <herd>sci</herd>
+ <maintainer>
+ <email>sci@gentoo.org</email>
+ </maintainer>
</pkgmetadata>