summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-09-11 09:57:37 +0000
committerUlrich Müller <ulm@gentoo.org>2010-09-11 09:57:37 +0000
commitc4bda2156bf88cb521b26cd8fb7c7dbe2f765b7e (patch)
treec423bba3721f3db60f5dd8d76c94aa6399e4a7bc
parentAdd fix for opengl-less compilation, bug 336777 (diff)
downloadhistorical-c4bda2156bf88cb521b26cd8fb7c7dbe2f765b7e.tar.gz
historical-c4bda2156bf88cb521b26cd8fb7c7dbe2f765b7e.tar.bz2
historical-c4bda2156bf88cb521b26cd8fb7c7dbe2f765b7e.zip
Version bump, fixes build problem with gcc-4.4.
Package-Manager: portage-2.2_rc71/cvs/Linux x86_64
-rw-r--r--dev-lang/c-intercal/ChangeLog10
-rw-r--r--dev-lang/c-intercal/Manifest12
-rw-r--r--dev-lang/c-intercal/c-intercal-28.65535.65534.0.ebuild77
3 files changed, 92 insertions, 7 deletions
diff --git a/dev-lang/c-intercal/ChangeLog b/dev-lang/c-intercal/ChangeLog
index 4e768aee80ad..b8bfca4deed0 100644
--- a/dev-lang/c-intercal/ChangeLog
+++ b/dev-lang/c-intercal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/c-intercal
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/ChangeLog,v 1.3 2009/03/18 11:14:38 ulm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/ChangeLog,v 1.4 2010/09/11 09:57:37 ulm Exp $
+
+*c-intercal-28.65535.65534.0 (11 Sep 2010)
+
+ 11 Sep 2010; Ulrich Mueller <ulm@gentoo.org>
+ +c-intercal-28.65535.65534.0.ebuild:
+ Version bump, fixes build problem with gcc-4.4.
18 Mar 2009; Ulrich Mueller <ulm@gentoo.org> c-intercal-28.0-r1.ebuild:
Add pkg_postinst and pkg_postrm functions.
diff --git a/dev-lang/c-intercal/Manifest b/dev-lang/c-intercal/Manifest
index 11ebba14cb25..0b95e17c9acd 100644
--- a/dev-lang/c-intercal/Manifest
+++ b/dev-lang/c-intercal/Manifest
@@ -6,13 +6,15 @@ AUX c-intercal-28.0-fix-64bit.patch 350 RMD160 df6a3b2455041d2459bf4eb9255f329d5
AUX c-intercal-28.0-fix-install-info.patch 1700 RMD160 6412ecf3e4601bd3461b398ca86fd438a8231f8c SHA1 1f4d66cf4b45c76fc65b23bad51439fe9ab96abf SHA256 54724f06d3f99fe65ef359e6c4e511221b054d33f851e087f8680b32a44d1bef
AUX c-intercal-28.0-parallel-make.patch 1026 RMD160 f91d80d5b3ca89c53e0df45dba3dbf249037a16e SHA1 9d47cef97403b48d153874eee83219a83eb0f68d SHA256 ddffdfdcc18baeaf4173a36cebab84f9d3b7d4ff36e835065ccf36840433a153
DIST ick-0-28.tgz 728987 RMD160 46a21d02f0de1ca3d274f23ce1b11a7569af7643 SHA1 591d31b27297da73b873fd9572d037880ad2ee6a SHA256 3d1bcba9b822679f984482b46c08b7596363e472c383d5994b28f2ac2603c17f
+DIST ick-0.-2.0.29.pax.gz 866737 RMD160 d559503ded73e710411ceb9209c6a55fd623a6be SHA1 8d1b359c4ae2cb412263ce9ca48e8c38ae5fbb04 SHA256 296b19ec8c446082d653c716aa6e9e443618e3019bd0fd59b136fc3bd4e3110d
EBUILD c-intercal-28.0-r1.ebuild 1767 RMD160 3c25b42e60afc246fa00bcef165d9f53941f6c8c SHA1 2874ed8dfbee833b5bf1d4c757fc5547632f98c8 SHA256 adac4d45c678245c963be703fb89a9f93e717cb7e04aa11dc9d913af142aa105
-MISC ChangeLog 940 RMD160 70af757b48086db4d817934e273ddeb2933ac62c SHA1 adadf82077a12439a309a2c58845cae41771b1fe SHA256 5efff58b3645d89272021ad88664a318ef51d8eb416ce22246595d76f9b619bb
+EBUILD c-intercal-28.65535.65534.0.ebuild 1942 RMD160 d407b39ac33fd83f14debfe399663ff44ea476ee SHA1 11a5695246e45dc190150d12c302c1fb0ee2c741 SHA256 80e7b596d09a4e3b15b0f5b2fa74fc2c6c4fc84e763b36185bdc998c862fbd60
+MISC ChangeLog 1121 RMD160 547d0b8f0f241b24864e55d462e2e93951a251aa SHA1 5627efaebcbe27b6092ae56be21504dff85342ff SHA256 a0eb4ecc5420281cefcfdf9e35b6681b79a50ac56e424ca1e97ab155c001b893
MISC metadata.xml 662 RMD160 c5d77119669860d4b5a4807dbb479c32d16a5dd2 SHA1 1517163d115fbef3bca6caa0797c30725389b580 SHA256 dbd0547291dc5f3c678f047975a7f990d137728f3d7bfe89d9f5cffc1b577c73
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAknA1+8ACgkQOeoy/oIi7uyTxgCgiJ74NubbGjLL1MRbYO+NCebo
-D3YAn0LGRLgHdnrG1348RjJavHKiLe9c
-=r+16
+iEYEARECAAYFAkyLUswACgkQOeoy/oIi7uwAfwCgkSultIJHSLuPqWEdyH/XaVDj
++qYAn0flKHSJbabo/9rgx801TMwYM7sQ
+=d0tg
-----END PGP SIGNATURE-----
diff --git a/dev-lang/c-intercal/c-intercal-28.65535.65534.0.ebuild b/dev-lang/c-intercal/c-intercal-28.65535.65534.0.ebuild
new file mode 100644
index 000000000000..ef9f1daf3115
--- /dev/null
+++ b/dev-lang/c-intercal/c-intercal-28.65535.65534.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/c-intercal/c-intercal-28.65535.65534.0.ebuild,v 1.1 2010/09/11 09:57:37 ulm Exp $
+
+inherit elisp-common eutils multilib versionator
+
+# C-INTERCAL uses minor-major ordering of version components and
+# negative version numbers. We map version components -1, -2, ...
+# to 65535, 65534, ..., and subtract one from the next component.
+# For example, upstream version 0.28 is mapped to Gentoo version 28.0
+# and 0.-2.0.29 is mapped to 28.65535.65534.0.
+get_intercal_version() {
+ local i=.${1:-${PV}} j k c=0
+ while [[ ${i} ]]; do
+ (( k = ${i##*.} + c ))
+ (( (c = (k >= 32768)) && (k -= 65536) ))
+ i=${i%.*}
+ j=${j}.${k}
+ done
+ echo ${j#.}
+}
+
+MY_PV=$(get_intercal_version)
+DESCRIPTION="C-INTERCAL - INTERCAL to binary (via C) compiler"
+HOMEPAGE="http://c.intercal.org.uk"
+SRC_URI="http://overload.intercal.org.uk/c/ick-${MY_PV}.pax.gz"
+
+LICENSE="GPL-2 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs examples"
+
+DEPEND="emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+
+MY_PV2=${MY_PV%.${MY_PV##*.}}
+S="${WORKDIR}/ick-${MY_PV2##*.}.${MY_PV##*.}"
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ tar xzf "${DISTDIR}/${A}" || die "tar failed"
+}
+
+src_compile() {
+ econf
+ emake || die
+
+ if use emacs; then
+ elisp-compile etc/intercal.el || die
+ fi
+}
+
+src_install() {
+ # Thinks the directories exist, won't as this is done to a DESTDIR...
+ #dodir /usr/bin
+ #dodir /usr/$(get_libdir)
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc BUGS NEWS README doc/THEORY.txt
+
+ if use emacs; then
+ elisp-install ${PN} etc/intercal.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+ fi
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r pit || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}