/[gentoo-x86]/sys-devel/ucpp/ucpp-1.3.ebuild
Gentoo

Contents of /sys-devel/ucpp/ucpp-1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 2 14:19:29 2011 UTC (2 years, 11 months ago) by alexxy
Branch: MAIN
Changes since 1.1: +2 -2 lines
[sys-devel/ucpp] Add ~amd64-linux keyword

(Portage version: 2.2.0_alpha49/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/ucpp/ucpp-1.3.ebuild,v 1.1 2011/07/28 13:18:23 alexxy Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="A quick and light preprocessor, but anyway fully compliant to C99"
10 HOMEPAGE="http://code.google.com/p/ucpp/"
11 SRC_URI="mirror://gentoo/${P}.tar.bz2"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux"
16 IUSE=""
17
18 src_prepare() {
19 epatch "${FILESDIR}"/tune.h.patch
20 }
21
22 src_compile() {
23 emake \
24 FLAGS="${CFLAGS} -DSTAND_ALONE" \
25 CC=$(tc-getCC) \
26 STAND_ALONE="-DSTAND_ALONE" || die
27 }
28
29 src_install() {
30 dolib.a lib${PN}.a || die
31 doman ${PN}.1 || die
32 dobin ${PN} || die
33 dodoc README || die
34 }

  ViewVC Help
Powered by ViewVC 1.1.20