From 948d557b4a61dc14722668b6b11a4cf3cee07b01 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Sep 2019 17:56:30 +0100 Subject: gentoo resync : 13.09.2019 --- dev-libs/libf2c/libf2c-20130927.ebuild | 57 ---------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 dev-libs/libf2c/libf2c-20130927.ebuild (limited to 'dev-libs/libf2c/libf2c-20130927.ebuild') diff --git a/dev-libs/libf2c/libf2c-20130927.ebuild b/dev-libs/libf2c/libf2c-20130927.ebuild deleted file mode 100644 index a9e73c1620a9..000000000000 --- a/dev-libs/libf2c/libf2c-20130927.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="Library that converts FORTRAN to C source" -HOMEPAGE="http://www.netlib.org/f2c/" -SRC_URI="${HOMEPAGE}/${PN}.zip -> ${P}.zip" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="static-libs" - -RDEPEND="" -DEPEND="${RDEPEND} - app-arch/unzip" - -S="${WORKDIR}" - -src_prepare() { - epatch \ - "${FILESDIR}"/20051004-add-ofiles-dep.patch \ - "${FILESDIR}"/20090407-link-shared-libf2c-correctly.patch \ - "${FILESDIR}"/${PN}-20110801-main.patch\ - "${FILESDIR}"/${PN}-20110801-64bit-long.patch \ - "${FILESDIR}"/${PN}-20110801-format-security.patch - sed -i -e "s/ld /$(tc-getLD) /" makefile.u || die -} - -src_compile() { - emake \ - -f makefile.u \ - libf2c.so \ - CFLAGS="${CFLAGS} -fPIC" \ - CC="$(tc-getCC)" - - # Clean up files so we can recompile without PIC for the static lib - if use static-libs; then - rm *.o || die "clean failed" - emake \ - -f makefile.u \ - all \ - CFLAGS="${CFLAGS}" \ - CC="$(tc-getCC)" - fi -} - -src_install () { - dolib libf2c.so.2 - dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so - use static-libs && dolib.a libf2c.a - doheader f2c.h - dodoc README Notice -} -- cgit v1.2.3