From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4F8E813800E for ; Fri, 3 Aug 2012 17:15:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1BFB1E0767; Fri, 3 Aug 2012 17:15:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CF628E0767 for ; Fri, 3 Aug 2012 17:15:36 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04F0C1B4032 for ; Fri, 3 Aug 2012 17:15:36 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2162) id A10192004B; Fri, 3 Aug 2012 17:15:34 +0000 (UTC) From: "Sebastien Fabbro (bicatali)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, bicatali@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/cdf: cdf-3.4.1.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: cdf-3.4.1.ebuild ChangeLog X-VCS-Directories: sci-libs/cdf X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20120803171534.A10192004B@flycatcher.gentoo.org> Date: Fri, 3 Aug 2012 17:15:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae0cc33e-501a-456f-ae6a-a5dc4a88c4c3 X-Archives-Hash: 4bc11edae1d7d5c2a33959463bede929 bicatali 12/08/03 17:15:34 Modified: ChangeLog Added: cdf-3.4.1.ebuild Log: Version bump, respect CC, keyword amd64-linux, x86-linux (Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64) Revision Changes Path 1.23 sci-libs/cdf/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cdf/ChangeLog?rev=1.23&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cdf/ChangeLog?rev=1.23&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cdf/ChangeLog?r1=1.22&r2=1.23 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-libs/cdf/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ChangeLog 7 Aug 2011 04:55:41 -0000 1.22 +++ ChangeLog 3 Aug 2012 17:15:34 -0000 1.23 @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/cdf -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/ChangeLog,v 1.22 2011/08/07 04:55:41 bicatali Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/ChangeLog,v 1.23 2012/08/03 17:15:34 bicatali Exp $ + +*cdf-3.4.1 (03 Aug 2012) + + 03 Aug 2012; Sébastien Fabbro +cdf-3.4.1.ebuild, + +files/cdf-3.4-Makefile.patch: + Version bump, respect CC, keyword amd64-linux, x86-linux *cdf-3.3.1 (07 Aug 2011) @@ -104,4 +110,3 @@ 22 Dec 2003; Patrick Kursawe cdf-2.7.ebuild, metadata.xml: Initial import - 1.1 sci-libs/cdf/cdf-3.4.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cdf/cdf-3.4.1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cdf/cdf-3.4.1.ebuild?rev=1.1&content-type=text/plain Index: cdf-3.4.1.ebuild =================================================================== # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cdf/cdf-3.4.1.ebuild,v 1.1 2012/08/03 17:15:34 bicatali Exp $ EAPI=4 inherit eutils toolchain-funcs multilib versionator java-pkg-opt-2 MY_DP="${PN}$(get_version_component_range 1)$(get_version_component_range 2)" MY_P="${MY_DP}_$(get_version_component_range 3)" DESCRIPTION="Common Data Format I/O library for multi-dimensional data sets" HOMEPAGE="http://cdf.gsfc.nasa.gov/" SRC_BASE="ftp://cdaweb.gsfc.nasa.gov/pub/${PN}/dist/${MY_P}/unix" SRC_URI="${SRC_BASE}/${MY_P}-dist-${PN}.tar.gz java? ( ${SRC_BASE}/${MY_P}-dist-java.tar.gz ) doc? ( ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}crm.pdf ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}frm.pdf ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}ifd.pdf ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}prm.pdf ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}ug.pdf java? ( ${SRC_BASE}/${MY_DP}_documentation/${MY_DP}jrm.pdf ) )" LICENSE="CDF" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples java ncurses static-libs" RDEPEND="ncurses? ( sys-libs/ncurses ) java? ( >=virtual/jre-1.5 )" DEPEND="ncurses? ( sys-libs/ncurses ) java? ( >=virtual/jdk-1.5 )" S="${WORKDIR}/${MY_P}-dist" src_prepare() { # respect cflags, remove useless scripts epatch "${FILESDIR}"/${PN}-3.4-Makefile.patch epatch "${FILESDIR}"/${PN}-3.2-soname.patch # use proper lib dir sed -i \ -e "s:\$(INSTALLDIR)/lib:\$(INSTALLDIR)/$(get_libdir):g" \ Makefile || die "sed failed" } src_compile() { local myconf if use ncurses; then myconf="${myconf} CURSES=yes" else myconf="${myconf} CURSES=no" fi PV_SO=${PV:0:1} emake \ OS=linux \ CC=$(tc-getCC) \ ENV=gnu \ SHARED=yes \ SHAREDEXT_linux=so.${PV_SO} \ ${myconf} \ all if use java; then export CDF_BASE="${S}" export CDF_LIB="${S}/src/lib" cd cdfjava/jni $(tc-getCC) \ ${CFLAGS} -fPIC \ -I${CDF_BASE}/src/include \ -I$(java-config -O)/include \ -I$(java-config -O)/include/linux \ -c cdfNativeLibrary.c \ -o cdfNativeLibrary.o \ || die "compiling java lib failed" $(tc-getCC) \ ${LDFLAGS} \ -L${CDF_LIB} -lcdf -lm \ -shared cdfNativeLibrary.o \ -Wl,-soname=libcdfNativeLibrary.so.${PV_SO} \ -o libcdfNativeLibrary.so.${PV_SO} \ || die "linking java lib failed" fi } src_test() { emake -j1 test } src_install() { dodir /usr/bin dodir /usr/$(get_libdir) # -j1 (fragile non-autotooled make) emake -j1 \ INSTALLDIR="${ED}/usr" \ SHAREDEXT=so.${PV_SO} \ install dosym libcdf.so.${PV_SO} /usr/$(get_libdir)/libcdf.so use static-libs && rm -f "${ED}"/usr/$(get_libdir)/libcdf.a dodoc Release.notes CHANGES.txt Welcome.txt doenvd "${FILESDIR}"/50cdf if use doc; then insinto /usr/share/doc/${PF} doins "${DISTDIR}"/${MY_DP}*.pdf use java || rm "${D}"/usr/share/doc/${PF}/${MY_P}jrm.pdf fi if use examples; then insinto /usr/share/doc/${PF}/examples doins samples/* fi if use java; then cd cdfjava dolib.so jni/libcdfNativeLibrary.so.${PV_SO} dosym libcdfNativeLibrary.so.${PV_SO} \ /usr/$(get_libdir)/libcdfNativeLibrary.so java-pkg_dojar */*.jar if use examples; then insinto /usr/share/doc/${PF}/examples/java doins examples/* fi fi }