From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-lang/pcc/pcc-1.1.0-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-lang/pcc/pcc-1.1.0-r1.ebuild (limited to 'dev-lang/pcc/pcc-1.1.0-r1.ebuild') diff --git a/dev-lang/pcc/pcc-1.1.0-r1.ebuild b/dev-lang/pcc/pcc-1.1.0-r1.ebuild new file mode 100644 index 000000000000..afadb70bb38a --- /dev/null +++ b/dev-lang/pcc/pcc-1.1.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils versionator autotools + +DESCRIPTION="pcc portable c compiler" +HOMEPAGE="http://pcc.ludd.ltu.se" + +SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~amd64-fbsd" +IUSE="" +DEPEND=">=dev-libs/pcc-libs-${PV}" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac" + sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more" + eautoreconf + epatch "${FILESDIR}/${P}-multiarch.patch" || die +} + +src_configure() { + econf --disable-stripping +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} -- cgit v1.2.3