/[gentoo-x86]/dev-lang/pcc/pcc-1.0.0.ebuild
Gentoo

Contents of /dev-lang/pcc/pcc-1.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jun 11 00:30:31 2012 UTC (2 years, 3 months ago) by ryao
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
keyword ~amd64-fbsd

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 ryao 1.2 # Copyright 1999-2012 Gentoo Foundation
2 patrick 1.1 # Distributed under the terms of the GNU General Public License v2
3 ryao 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/pcc/pcc-1.0.0.ebuild,v 1.1 2011/04/04 10:21:36 patrick Exp $
4 patrick 1.1
5     EAPI=2
6    
7     inherit eutils versionator autotools
8    
9     DESCRIPTION="pcc portable c compiler"
10     HOMEPAGE="http://pcc.ludd.ltu.se"
11    
12     SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
13    
14     LICENSE="BSD"
15     SLOT="0"
16 ryao 1.2 KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
17 patrick 1.1 IUSE=""
18     DEPEND=">=dev-libs/pcc-libs-${PV}"
19     RDEPEND="${DEPEND}"
20    
21     src_prepare() {
22     sed -i -e 's/AC_CHECK_PROG(strip,strip,yes,no)//' configure.ac || die "Failed to fix configure.ac"
23     sed -i -e 's/AC_SUBST(strip)//' configure.ac || die "Failed to fix configure.ac more"
24     eautoreconf
25     }
26    
27     src_compile() {
28     # not parallel-safe yet
29     emake -j1 || die "emake failed"
30     }
31    
32     src_install() {
33     emake DESTDIR="${D}" install || die "emake install failed"
34     }

  ViewVC Help
Powered by ViewVC 1.1.20