diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-10-09 10:18:56 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-10-09 10:18:56 +0000 |
commit | 02b3a60da6afef75911092f3fbbe0187d6a11e60 (patch) | |
tree | 23697604fde658c61a8bf3fa76a82c8104bb4b59 /sci-libs/ufconfig | |
parent | Fix email address in ChangeLog (diff) | |
download | gentoo-2-02b3a60da6afef75911092f3fbbe0187d6a11e60.tar.gz gentoo-2-02b3a60da6afef75911092f3fbbe0187d6a11e60.tar.bz2 gentoo-2-02b3a60da6afef75911092f3fbbe0187d6a11e60.zip |
sci-libs/ufconfig: Version Bump
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/ufconfig')
-rw-r--r-- | sci-libs/ufconfig/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/ufconfig/metadata.xml | 4 | ||||
-rw-r--r-- | sci-libs/ufconfig/ufconfig-3.7.1.ebuild | 44 |
3 files changed, 53 insertions, 3 deletions
diff --git a/sci-libs/ufconfig/ChangeLog b/sci-libs/ufconfig/ChangeLog index 900b9fcc937d..b5259945a1b7 100644 --- a/sci-libs/ufconfig/ChangeLog +++ b/sci-libs/ufconfig/ChangeLog @@ -1,6 +1,12 @@ # 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.34 2012/05/30 13:28:19 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/ufconfig/ChangeLog,v 1.35 2012/10/09 10:18:56 jlec Exp $ + +*ufconfig-3.7.1 (09 Oct 2012) + + 09 Oct 2012; Justin Lecher <jlec@gentoo.org> +ufconfig-3.7.1.ebuild, + metadata.xml: + Version Bump 30 May 2012; Alexis Ballier <aballier@gentoo.org> ufconfig-3.7.0.ebuild: keyword ~amd64-fbsd diff --git a/sci-libs/ufconfig/metadata.xml b/sci-libs/ufconfig/metadata.xml index d213dcb7ebf7..51caebda07d3 100644 --- a/sci-libs/ufconfig/metadata.xml +++ b/sci-libs/ufconfig/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> -<longdescription lang="en"> + <herd>sci</herd> + <longdescription lang="en"> UFconfig is a set of configuration files for the SuiteSparse matrix libraries from CISE at University of Florida. It contains some headers and makefiles. diff --git a/sci-libs/ufconfig/ufconfig-3.7.1.ebuild b/sci-libs/ufconfig/ufconfig-3.7.1.ebuild new file mode 100644 index 000000000000..ceaaabe2cb99 --- /dev/null +++ b/sci-libs/ufconfig/ufconfig-3.7.1.ebuild @@ -0,0 +1,44 @@ +# 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.1.ebuild,v 1.1 2012/10/09 10:18:56 jlec 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-fbsd ~amd64-linux ~x86-linux ~x64-macos ~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 + local sharedlink="-shared -Wl,-soname,libufconfig$(get_libname ${PV})" + [[ ${CHOST} == *-darwin* ]] && \ + sharedlink="-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libufconfig$(get_libname ${PV})" + echo "$(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${PV}) UFconfig.lo" + $(tc-getCC) ${LDFLAGS} ${sharedlink} -o libufconfig$(get_libname ${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$(get_libname ${PV}) + dosym libufconfig$(get_libname ${PV}) /usr/$(get_libdir)/libufconfig$(get_libname) + use static-libs && dolib.a libufconfig.a + insinto /usr/include + doins UFconfig.h + dodoc README.txt +} |