summaryrefslogtreecommitdiff
path: root/dev-libs/pcc-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/pcc-libs
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/pcc-libs')
-rw-r--r--dev-libs/pcc-libs/Manifest13
-rw-r--r--dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch62
-rw-r--r--dev-libs/pcc-libs/metadata.xml8
-rw-r--r--dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild32
-rw-r--r--dev-libs/pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild28
-rw-r--r--dev-libs/pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild28
-rw-r--r--dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild28
-rw-r--r--dev-libs/pcc-libs/pcc-libs-9999.ebuild35
8 files changed, 234 insertions, 0 deletions
diff --git a/dev-libs/pcc-libs/Manifest b/dev-libs/pcc-libs/Manifest
new file mode 100644
index 000000000000..250d421cdf64
--- /dev/null
+++ b/dev-libs/pcc-libs/Manifest
@@ -0,0 +1,13 @@
+AUX pcc-libs-1.0.0-check-builtin.patch 1213 SHA256 61b3d8a608dfdca8902c2c8a86add11146257f7504b967e0033582c8a2dc37c1 SHA512 b9aaa95219d7776418bc2032742b3401d4b2fe93a2cb1066fdef6e4a036519484eb5f6a77a5ef7783f42724cd743e3eb657c43a32452cbc230917c84929bb2a0 WHIRLPOOL d30d5594eed84502a0f7cd0eab9e92aa11e7311f1643fa8c4ce51050718292c31aa6ac2d5e8fb4c3b1e28a9ef6e3fd1965769ce9e20aae61439adfebb7f094f5
+DIST pcc-libs-1.0.0.tgz 190238 SHA256 f89ac94e30927a28c78fc8b8b7fef617eeaf843e2268063d43e414cf3179dd62 SHA512 619e65bb4b6c979864a2bd800f2b2abf2702bea2d091f884e9c9d5a2fcf9ff999faf45006bf83cd363f95bf60789e118e82cf24bcb0666758686061baa9cc624 WHIRLPOOL 365b354d8f1081dfa7d75468598d87200155dba8679800177b97084f85fe85b5db8e369f94be777f69f3a33dfb300b01bda5d982e7ae0efd600b4ddc4b8a3094
+DIST pcc-libs-1.1.0.tgz 198204 SHA256 dd4cb124da0b2edcda6ceb823c3ca8fc05919d35c89c34dec617517afe6bbfee SHA512 89d90f246300ab1da652f652c685756aa038017f5b7d57d050bb5c88e01e70b594ffaef8772230fbeb9461e07c5b1df60e85e550ec4717008159218d50c8697a WHIRLPOOL 8f90f2e8a963105d08642a49005d296f5dabd01472d221fe965de2b19d537b5e257b62bd440e85356aecf9d0eb0690cdefd57c9e25dd922b3cfb4d192b19654e
+DIST pcc-libs-20121112.tgz 190520 SHA256 f467beaaa9aa611aa6d7b8a4db5c1792f25933219899fb391dd41b97a6aa06ec SHA512 15524bd09be9cafc95f1c28102f357db0ac27148062dc2b003f9e20aa8055871da7efa833c27a77920ee2ec4b8a68d2d7553f13095c5575efc3acd176fd2a21f WHIRLPOOL bbbe715f547e5e2198e6b2c11c2a84773ce3273c25213cc03e10185c34c95f97c596d94b66dc481f943c0c20c97a4471f593acaa1790b61c89bdf52b6876f498
+DIST pcc-libs-20131013.tgz 190540 SHA256 c455212f60be26787ba48d1dc575d1667535479b83329c9de2c23f8237167804 SHA512 f1fd0bd0cd01d25da044b8b78b7782f9103d2a56eb1b9f6e29fffb102c9a1012f428a1b2ab2b111426312a46b0ffce3b1b811fcd9fa10859cb105caf37313329 WHIRLPOOL 318875e412ab9017d5423df198393b6dea97493b14f62919b4b5209424b6c7c4f7e875cc094a59e5bf29c162734586ae160b09e4de9d439a0d524f580305dd1d
+EBUILD pcc-libs-1.0.0.ebuild 596 SHA256 454ce5e62648d14d583cbf0eb37a3597e1984bf4822ca488e8be9ad10fcabf42 SHA512 960a01503346fa3fe5f3a34b8bdf59e229513e91c2beeb19d081bf3774a554977150cc63c1bdb329b53f2ccc10f3b929660fe62e8f092c97245901e983fac5eb WHIRLPOOL 1a7e9e65a4750c333c0bc6af88955a6af303601a4e57d048e3f7bd7863a288531c3e46b374fdfa07136690caf73d131c7e38f1b258fa9e28485b6bc99b3a6c9a
+EBUILD pcc-libs-1.0.1_pre20121112.ebuild 572 SHA256 bb0eb92d20991dc6c917ed9659d8fe0900dd2d6eda46761d235e106658294f5e SHA512 885a592940ce7b378067f2f6974b2061158faf20ddf9d6bc9e409361701016205eff4324ea4c842d8bebcf8a853e5b7ec8d5e6af1e82d2833ba7413e84c89111 WHIRLPOOL a37cbc9073f44b58433693d641d497c8607aaa9b3b2dd00f7c2a548a5ff0b05ab74b4b28f79bf62c77549fe30469785775c90c8fa7ec3c47c661af1c360cb317
+EBUILD pcc-libs-1.0.1_pre20131013.ebuild 572 SHA256 bb0eb92d20991dc6c917ed9659d8fe0900dd2d6eda46761d235e106658294f5e SHA512 885a592940ce7b378067f2f6974b2061158faf20ddf9d6bc9e409361701016205eff4324ea4c842d8bebcf8a853e5b7ec8d5e6af1e82d2833ba7413e84c89111 WHIRLPOOL a37cbc9073f44b58433693d641d497c8607aaa9b3b2dd00f7c2a548a5ff0b05ab74b4b28f79bf62c77549fe30469785775c90c8fa7ec3c47c661af1c360cb317
+EBUILD pcc-libs-1.1.0.ebuild 564 SHA256 03b8b22365341a723b387a3653c7e300b2eb9d9076f9e0f8036e7a09e9b879b5 SHA512 dde7b0db8175c2db61784cabdd04c9762403e36be04b0c0a6dd908ece19a60d7dd924b6ac9d09584105ef727df04edc35c3459e0efdf427c0845d9139353b3ca WHIRLPOOL b300097a1952b1a668e4a1cd1803a1cfff3141f0bbcfcdc7d9376983a7c3970cc91257d9617f246bd4e72fa0c8762eaf11a0aa8974d04834886e993e1cedcb60
+EBUILD pcc-libs-9999.ebuild 677 SHA256 fcc622ee7271e6c35940bc94391beecec3ae9ff5cc95f843b4b737efc402c7b3 SHA512 0f06667f68d71ad2fce8157db498857b666bec324e0f8ad293104a7d19261dbf15def1865fecfb37f61faa7995e30399b51b6b136d3738a9044e6106ba0ebd90 WHIRLPOOL 844f16deafc3b5846151511ea746561c8be65ab42c1cf3e74eab81d884c4db1ac36cf82b4801dd919692a98687e5daf943d35893ef87e551f575fa945ee2ee4f
+MISC ChangeLog 2490 SHA256 97c8dc02e7794dbfba40888f3ead78364cfeabb1ac21f9ea94e7ca6ad373a6ed SHA512 62a6808f54514d3177e4e6af87418cb4112191a9d89ac9d5224551a60d49f5f84e8941a1ab35bae8fd6831b8f69fc7367b610b0755b0d59ddd35b4c4db991765 WHIRLPOOL cf5e4524e4e6b903d2395fe5e2a59e451c18c20641997ee1082f805cab589e4445a41b2bccdc0941cc442abaf78911fcb7779ec1791e02c34904f3c8713d2406
+MISC ChangeLog-2015 2096 SHA256 0fe74378732421eb86ff389fb9410649eb9c87884402dba4b64a0d14710a0635 SHA512 d0102995bdb0fa39fa423f5a3ba9c421e9a4189f91f7fc7063227908eb7586ad2a6ff7833f8b92fbe32234bbe2c357ca73fc2e838106f7af01e67c7c322559f5 WHIRLPOOL dc9ec94d8e8ab558b94c7346667ab000a13d0a9da3ad6fd83242b12b6e8fe439976bab8233bf2cec33b8df7179f1486ccd7be91f80aa988fe2f99b34004491da
+MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec
diff --git a/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch b/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch
new file mode 100644
index 000000000000..335f2d774b8c
--- /dev/null
+++ b/dev-libs/pcc-libs/files/pcc-libs-1.0.0-check-builtin.patch
@@ -0,0 +1,62 @@
+diff --git a/libpcc/bitcnt.c b/libpcc/bitcnt.c
+index 26ecc01..c3bd54e 100644
+--- a/libpcc/bitcnt.c
++++ b/libpcc/bitcnt.c
+@@ -1,9 +1,22 @@
++// Only use __has_builtin in compilers that support it.
++#ifndef __has_builtin
++ #define __has_builtin(x) 0
++#endif
+
++#if !__has_builtin(__builtin_clz)
+ int __builtin_clz(unsigned int);
++#endif
++#if !__has_builtin(__builtin_ctz)
+ int __builtin_ctz(unsigned int);
++#endif
++#if !__has_builtin(__builtin_clzl)
+ int __builtin_clzl(unsigned long);
++#endif
++#if !__has_builtin(__builtin_ctzl)
+ int __builtin_ctzl(unsigned long);
++#endif
+
++#if !__has_builtin(__builtin_clz)
+ int
+ __builtin_clz(unsigned int v)
+ {
+@@ -14,7 +27,9 @@ __builtin_clz(unsigned int v)
+ break;
+ return i;
+ }
++#endif
+
++#if !__has_builtin(__builtin_ctz)
+ int
+ __builtin_ctz(unsigned int v)
+ {
+@@ -25,7 +40,9 @@ __builtin_ctz(unsigned int v)
+ break;
+ return i;
+ }
++#endif
+
++#if !__has_builtin(__builtin_clzl)
+ int
+ __builtin_clzl(unsigned long v)
+ {
+@@ -37,7 +54,9 @@ __builtin_clzl(unsigned long v)
+ break;
+ return i;
+ }
++#endif
+
++#if !__has_builtin(__builtin_ctzl)
+ int
+ __builtin_ctzl(unsigned long v)
+ {
+@@ -48,3 +67,4 @@ __builtin_ctzl(unsigned long v)
+ break;
+ return i;
+ }
++#endif
diff --git a/dev-libs/pcc-libs/metadata.xml b/dev-libs/pcc-libs/metadata.xml
new file mode 100644
index 000000000000..40aa45df2b01
--- /dev/null
+++ b/dev-libs/pcc-libs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild b/dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild
new file mode 100644
index 000000000000..61bd145a5dac
--- /dev/null
+++ b/dev-libs/pcc-libs/pcc-libs-1.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils versionator
+
+DESCRIPTION="pcc compiler support libs"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare()
+{
+ epatch "${FILESDIR}/${P}-check-builtin.patch"
+}
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild b/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild
new file mode 100644
index 000000000000..17ce795e82b1
--- /dev/null
+++ b/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20121112.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils versionator
+
+DESCRIPTION="pcc compiler support libs"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="ftp://pcc.ludd.ltu.se/pub/${PN}/${PN}-${PVR/*_pre/}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${PN}-${PVR/*_pre/}/
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild b/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild
new file mode 100644
index 000000000000..17ce795e82b1
--- /dev/null
+++ b/dev-libs/pcc-libs/pcc-libs-1.0.1_pre20131013.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=2
+
+inherit eutils versionator
+
+DESCRIPTION="pcc compiler support libs"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="ftp://pcc.ludd.ltu.se/pub/${PN}/${PN}-${PVR/*_pre/}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${PN}-${PVR/*_pre/}/
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild b/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild
new file mode 100644
index 000000000000..6da47ab755f3
--- /dev/null
+++ b/dev-libs/pcc-libs/pcc-libs-1.1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils versionator
+
+DESCRIPTION="pcc compiler support libs"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+S=${WORKDIR}/${PN}-${PVR/*_pre/}/
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}
diff --git a/dev-libs/pcc-libs/pcc-libs-9999.ebuild b/dev-libs/pcc-libs/pcc-libs-9999.ebuild
new file mode 100644
index 000000000000..82ab2acefd6f
--- /dev/null
+++ b/dev-libs/pcc-libs/pcc-libs-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils versionator
+
+DESCRIPTION="pcc compiler support libs"
+HOMEPAGE="http://pcc.ludd.ltu.se"
+
+if [[ ${PV} = 9999 ]]; then
+ inherit cvs
+ ECVS_SERVER="pcc.ludd.ltu.se:/cvsroot"
+ ECVS_MODULE="${PN}"
+ S="${WORKDIR}/${PN}"
+ KEYWORDS=""
+else
+ SRC_URI="ftp://pcc.ludd.ltu.se/pub/pcc-releases/${P}.tgz"
+ KEYWORDS="~x86 ~amd64 ~amd64-fbsd"
+fi
+LICENSE="BSD"
+SLOT="0"
+
+IUSE=""
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ # not parallel-safe yet
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}