summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-28 13:18:23 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-28 13:18:23 +0000
commita1e2555599e164a3ba8bd1064e8601a8acd06446 (patch)
tree4a8c48e8741bb44a999e998a5b410bd1f027c05d /sys-devel/ucpp
parentVersion bump (diff)
downloadhistorical-a1e2555599e164a3ba8bd1064e8601a8acd06446.tar.gz
historical-a1e2555599e164a3ba8bd1064e8601a8acd06446.tar.bz2
historical-a1e2555599e164a3ba8bd1064e8601a8acd06446.zip
[sys-devel/ucpp] Initial import to tree
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/ucpp')
-rw-r--r--sys-devel/ucpp/ChangeLog10
-rw-r--r--sys-devel/ucpp/Manifest25
-rw-r--r--sys-devel/ucpp/files/tune.h.patch28
-rw-r--r--sys-devel/ucpp/metadata.xml8
-rw-r--r--sys-devel/ucpp/ucpp-1.3.ebuild34
5 files changed, 105 insertions, 0 deletions
diff --git a/sys-devel/ucpp/ChangeLog b/sys-devel/ucpp/ChangeLog
new file mode 100644
index 000000000000..16d782f990f9
--- /dev/null
+++ b/sys-devel/ucpp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-devel/ucpp
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/ucpp/ChangeLog,v 1.1 2011/07/28 13:18:23 alexxy Exp $
+
+*ucpp-1.3 (28 Jul 2011)
+
+ 28 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> +ucpp-1.3.ebuild,
+ +files/tune.h.patch, +metadata.xml:
+ Initial import to tree
+
diff --git a/sys-devel/ucpp/Manifest b/sys-devel/ucpp/Manifest
new file mode 100644
index 000000000000..47a7b6aa0920
--- /dev/null
+++ b/sys-devel/ucpp/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX tune.h.patch 723 RMD160 411f358400f0c0a8f813e25f580f69b22bf759d3 SHA1 022f30c77266c9b4c0773e9bdf54296503570971 SHA256 27bdbc0e81ba1c60b4f069b6a05eedb44445d4768b2a5808e53117a7ed7e7871
+DIST ucpp-1.3.tar.bz2 73958 RMD160 08f9ef1ada15c7451b7966733fb0a63bbe6b179a SHA1 12caf535986e3919d58c47ca35ae9ed4efaa1cf0 SHA256 d0a51c20040385b143f15fc08eefec6119773fb07232a14c08bbb49cb1c5f1fa
+EBUILD ucpp-1.3.ebuild 754 RMD160 6fc0cbf93eb592b1df8e32c56d4dd0c45669345f SHA1 03af58aa20c58df2e6b4811e589592065930f456 SHA256 069563a751b108913968584ec24d9f73fe7c535de9df42affa416155d056a964
+MISC ChangeLog 359 RMD160 45f3b177bbbcd3f98ae256ccff0b872f1817b7a6 SHA1 f1d5896c6eaba61f2babc12ca40b775ef69e8057 SHA256 4b0895bf34100dccfc2a4f49b44a7c35c68d40564fb713efedcd57720220df1f
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJOMWGkAAoJEOf+E+/4L5LmNe8P/3u/3FR1UQIQk+NKlz6ZES4j
+8HXlzSksxuJCDklnifB/5KuBDqggPZoeBezXWlpG9A26bqr1dXoDEhBGkhdT29GV
+UKNV6nD6NqFVt4lJFOm4rXIUSSTuss133Snbth0qJRPgWymDaIKRGPykB8l9EDhh
+GaeotLfIRipHuV5M+41lfdGv2zoe6ssDX1Nzrb5iOQeUC2MsAuct4J66IBfdUJBm
+wZ1Wq2nkVeoFOYZIHYr2mKEpGb7jizl1u63erjTa91mTxqdh/lNSV9yKfVC/Yvxk
+HoLCuFKOCsRu1wJi7SnYTaMSvT2FwarN4J5WgaFzvZMZ8rJST4tX8+1xGK2blkUn
+xLa5nDUEijGprmMLZu5yvK1IyvSv4ANRXWDxej1GwCh4TznwmJTnLP75qYk5TCV5
+46xHw+WPpuIoaOgBZDsmXiwYXMzjapYFwBTYYd42CA3gFHDCUr3X3mJkkxUY5iJl
+vEvLgqH1raM/DOhvGj08WA1DMvebKfv5N+KgEnBWfQJtl+A2+csBcYHR6braQigS
++B1oPojrSBNuMd3Tzv5ybrGhWoyUoUA+ejgJJvL1S0/kd2Jy5qqmjLlHzyEn2gm3
+JTXqaTw9FT6IIOB3qQ/B0CWHLDBsP3Kakmz/zIy+veegqGzsBQXbb02UB7t7O/lh
+KDxkYxwbI1gNRsiELgSF
+=3v/H
+-----END PGP SIGNATURE-----
diff --git a/sys-devel/ucpp/files/tune.h.patch b/sys-devel/ucpp/files/tune.h.patch
new file mode 100644
index 000000000000..7455dd2425bf
--- /dev/null
+++ b/sys-devel/ucpp/files/tune.h.patch
@@ -0,0 +1,28 @@
+--- tune.h 2008-10-01 19:15:41.000000000 +0200
++++ tune.h.new 2009-03-22 11:59:42.000000000 +0100
+@@ -281,10 +281,10 @@
+ *
+ * If you want no standard assertion, define STD_ASSERT to 0.
+ */
+-/*
++
+ #define STD_ASSERT "cpu(i386)", "machine(i386)", "system(unix)", \
+ "system(freebsd)"
+-*/
++
+
+ /* ====================================================================== */
+ /*
+@@ -293,10 +293,10 @@
+ * Each string must be either "name" or "name=token-list". If you want
+ * no predefined macro, define STD_MACROS to 0.
+ */
+-/*
++
+ #define STD_MACROS "__FreeBSD=4", "__unix", "__i386", \
+ "__FreeBSD__=4", "__unix__", "__i386__"
+-*/
++
+
+ /* ====================================================================== */
+ /*
diff --git a/sys-devel/ucpp/metadata.xml b/sys-devel/ucpp/metadata.xml
new file mode 100644
index 000000000000..efb490d78817
--- /dev/null
+++ b/sys-devel/ucpp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-devel/ucpp/ucpp-1.3.ebuild b/sys-devel/ucpp/ucpp-1.3.ebuild
new file mode 100644
index 000000000000..02afcbfe3559
--- /dev/null
+++ b/sys-devel/ucpp/ucpp-1.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/ucpp/ucpp-1.3.ebuild,v 1.1 2011/07/28 13:18:23 alexxy Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A quick and light preprocessor, but anyway fully compliant to C99"
+HOMEPAGE="http://code.google.com/p/ucpp/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/tune.h.patch
+}
+
+src_compile() {
+ emake \
+ FLAGS="${CFLAGS} -DSTAND_ALONE" \
+ CC=$(tc-getCC) \
+ STAND_ALONE="-DSTAND_ALONE" || die
+}
+
+src_install() {
+ dolib.a lib${PN}.a || die
+ doman ${PN}.1 || die
+ dobin ${PN} || die
+ dodoc README || die
+}