summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-02-23 19:55:38 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-02-23 19:55:38 +0000
commitd291ffe4c560363d89c0f926c4c8d5b9ef7a9861 (patch)
tree16a19977dd5f3235419012afd45598149f932fb1 /sci-libs/ufconfig
parentBump (diff)
downloadgentoo-2-d291ffe4c560363d89c0f926c4c8d5b9ef7a9861.tar.gz
gentoo-2-d291ffe4c560363d89c0f926c4c8d5b9ef7a9861.tar.bz2
gentoo-2-d291ffe4c560363d89c0f926c4c8d5b9ef7a9861.zip
Bump
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/ufconfig')
-rw-r--r--sci-libs/ufconfig/ChangeLog9
-rw-r--r--sci-libs/ufconfig/ufconfig-3.6.0.ebuild42
2 files changed, 49 insertions, 2 deletions
diff --git a/sci-libs/ufconfig/ChangeLog b/sci-libs/ufconfig/ChangeLog
index 5e88eac2760d..00346e6f669b 100644
--- a/sci-libs/ufconfig/ChangeLog
+++ b/sci-libs/ufconfig/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/ufconfig
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.28 2010/07/25 14:27:19 jer Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.29 2011/02/23 19:55:38 bicatali Exp $
+
+*ufconfig-3.6.0 (23 Feb 2011)
+
+ 23 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> +ufconfig-3.6.0.ebuild:
+ Bump
25 Jul 2010; Jeroen Roovers <jer@gentoo.org> ufconfig-3.5.0.ebuild:
Stable for HPPA (bug #325183).
diff --git a/sci-libs/ufconfig/ufconfig-3.6.0.ebuild b/sci-libs/ufconfig/ufconfig-3.6.0.ebuild
new file mode 100644
index 000000000000..3dd1503134e3
--- /dev/null
+++ b/sci-libs/ufconfig/ufconfig-3.6.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ufconfig-3.6.0.ebuild,v 1.1 2011/02/23 19:55:38 bicatali Exp $
+
+inherit multilib toolchain-funcs
+
+MY_PN=UFconfig
+DESCRIPTION="Common configuration scripts for the SuiteSparse libraries"
+HOMEPAGE="http://www.cise.ufl.edu/research/sparse/UFconfig"
+SRC_URI="http://www.cise.ufl.edu/research/sparse/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="static-libs"
+DEPEND=""
+
+S="${WORKDIR}/${MY_PN}"
+
+src_compile() {
+ echo "$(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo"
+ $(tc-getCC) ${CFLAGS} -fPIC -c UFconfig.c -o UFconfig.lo || die
+ echo "$(tc-getCC) ${LDFLAGS} -shared -Wl,-soname,libufconfig.so.${PV} -o libufconfig.so.${PV} UFconfig.lo"
+ $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname,libufconfig.so.${PV} -o libufconfig.so.${PV} UFconfig.lo || die
+ if use static-libs; then
+ echo "$(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o"
+ $(tc-getCC) ${CFLAGS} -c UFconfig.c -o UFconfig.o || die
+ echo "$(tc-getAR) libufconfig.a UFconfig.o"
+ $(tc-getAR) cr libufconfig.a UFconfig.o
+ fi
+}
+
+src_install() {
+ dolib.so libufconfig.so.${PV} || die
+ dosym libufconfig.so.${PV} /usr/$(get_libdir)/libufconfig.so
+ if use static-libs; then
+ dolib.a libufconfig.a || die
+ fi
+ insinto /usr/include
+ doins UFconfig.h || die
+ dodoc README.txt || die
+}