diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-01-20 06:03:25 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-01-20 06:03:25 +0000 |
commit | 7d7e2475182bc1b30722e9054462ee62ef0a2c12 (patch) | |
tree | 51f24e756b8a2a3861a3b73494ccb150c2d4ccb3 /sci-libs/ufconfig | |
parent | Version bump (diff) | |
download | historical-7d7e2475182bc1b30722e9054462ee62ef0a2c12.tar.gz historical-7d7e2475182bc1b30722e9054462ee62ef0a2c12.tar.bz2 historical-7d7e2475182bc1b30722e9054462ee62ef0a2c12.zip |
Version bump
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/ufconfig')
-rw-r--r-- | sci-libs/ufconfig/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/ufconfig/ufconfig-3.7.0.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sci-libs/ufconfig/ChangeLog b/sci-libs/ufconfig/ChangeLog index 786f70eb5301..1a9c96416f80 100644 --- a/sci-libs/ufconfig/ChangeLog +++ b/sci-libs/ufconfig/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/ufconfig # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.31 2012/01/18 20:09:50 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.32 2012/01/20 06:01:06 bicatali Exp $ + +*ufconfig-3.7.0 (20 Jan 2012) + + 20 Jan 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +ufconfig-3.7.0.ebuild: + Version bump 18 Jan 2012; Fabio Erculiani <lxnay@gentoo.org> ufconfig-3.6.1.ebuild: add ~arm keyword diff --git a/sci-libs/ufconfig/ufconfig-3.7.0.ebuild b/sci-libs/ufconfig/ufconfig-3.7.0.ebuild new file mode 100644 index 000000000000..e7ced18612b4 --- /dev/null +++ b/sci-libs/ufconfig/ufconfig-3.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ufconfig-3.7.0.ebuild,v 1.1 2012/01/20 06:01:06 bicatali Exp $ + +EAPI=4 +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 ~arm ~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} + dosym libufconfig.so.${PV} /usr/$(get_libdir)/libufconfig.so + use static-libs && dolib.a libufconfig.a + insinto /usr/include + doins UFconfig.h + dodoc README.txt +} |