From: | "Alexey Shvetsov (alexxy)" <alexxy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/ucpp: metadata.xml ChangeLog ucpp-1.3.ebuild |
Date: | Thu, 28 Jul 2011 13:18:33 |
Message-Id: | 20110728131823.A55772004B@flycatcher.gentoo.org |
1 | alexxy 11/07/28 13:18:23 |
2 | |
3 | Added: metadata.xml ChangeLog ucpp-1.3.ebuild |
4 | Log: |
5 | [sys-devel/ucpp] Initial import to tree |
6 | |
7 | (Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-devel/ucpp/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sci</herd> |
21 | <maintainer> |
22 | <email>sci@g.o</email> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 sys-devel/ucpp/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for sys-devel/ucpp |
36 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/ucpp/ChangeLog,v 1.1 2011/07/28 13:18:23 alexxy Exp $ |
38 | |
39 | *ucpp-1.3 (28 Jul 2011) |
40 | |
41 | 28 Jul 2011; Alexey Shvetsov <alexxy@g.o> +ucpp-1.3.ebuild, |
42 | +files/tune.h.patch, +metadata.xml: |
43 | Initial import to tree |
44 | |
45 | |
46 | |
47 | |
48 | 1.1 sys-devel/ucpp/ucpp-1.3.ebuild |
49 | |
50 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/ucpp-1.3.ebuild?rev=1.1&view=markup |
51 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/ucpp/ucpp-1.3.ebuild?rev=1.1&content-type=text/plain |
52 | |
53 | Index: ucpp-1.3.ebuild |
54 | =================================================================== |
55 | # Copyright 1999-2011 Gentoo Foundation |
56 | # Distributed under the terms of the GNU General Public License v2 |
57 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/ucpp/ucpp-1.3.ebuild,v 1.1 2011/07/28 13:18:23 alexxy Exp $ |
58 | |
59 | EAPI="2" |
60 | |
61 | inherit eutils toolchain-funcs |
62 | |
63 | DESCRIPTION="A quick and light preprocessor, but anyway fully compliant to C99" |
64 | HOMEPAGE="http://code.google.com/p/ucpp/" |
65 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
66 | |
67 | LICENSE="BSD" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~x86" |
70 | IUSE="" |
71 | |
72 | src_prepare() { |
73 | epatch "${FILESDIR}"/tune.h.patch |
74 | } |
75 | |
76 | src_compile() { |
77 | emake \ |
78 | FLAGS="${CFLAGS} -DSTAND_ALONE" \ |
79 | CC=$(tc-getCC) \ |
80 | STAND_ALONE="-DSTAND_ALONE" || die |
81 | } |
82 | |
83 | src_install() { |
84 | dolib.a lib${PN}.a || die |
85 | doman ${PN}.1 || die |
86 | dobin ${PN} || die |
87 | dodoc README || die |
88 | } |