aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-22 12:04:40 +0100
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-22 12:04:40 +0100
commitfc4b5d5512fe791004ed1d991c7f2cc64ef712ad (patch)
tree22bcf89a6ac34882111869e6c8813dd5518748fa /sys-devel/ucpp/ucpp-1.3.ebuild
parentx11-libs/tr added (diff)
downloadsci-fc4b5d5512fe791004ed1d991c7f2cc64ef712ad.tar.gz
sci-fc4b5d5512fe791004ed1d991c7f2cc64ef712ad.tar.bz2
sci-fc4b5d5512fe791004ed1d991c7f2cc64ef712ad.zip
sys-devel/ucpp added
Diffstat (limited to 'sys-devel/ucpp/ucpp-1.3.ebuild')
-rw-r--r--sys-devel/ucpp/ucpp-1.3.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-devel/ucpp/ucpp-1.3.ebuild b/sys-devel/ucpp/ucpp-1.3.ebuild
new file mode 100644
index 000000000..841b2c0fb
--- /dev/null
+++ b/sys-devel/ucpp/ucpp-1.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="A quick and light preprocessor, but anyway fully compliant to C99"
+HOMEPAGE="http://code.google.com/p/ucpp/"
+SRC_URI="http://ucpp.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/tune.h.patch
+}
+
+src_compile() {
+ emake \
+ FLAGS="${CFLAGS} -DSTAND_ALONE" \
+ CC=$(tc-getCC) \
+ STAND_ALONE="-DSTAND_ALONE"
+}
+
+src_install() {
+ dolib.a lib${PN}.a || die
+ doman ${PN}.1 || die
+ dobin ${PN} || die
+ dodoc README
+}