summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2006-04-27 17:17:03 +0000
committerDenis Dupeyron <calchan@gentoo.org>2006-04-27 17:17:03 +0000
commitcc1bad8a279165f167f720374558e89e0a1c1b1e (patch)
tree90f01284eb67f09282de469114902366494ac4c6 /dev-embedded
parentFixing SHA256 digest, pass four (diff)
downloadgentoo-2-cc1bad8a279165f167f720374558e89e0a1c1b1e.tar.gz
gentoo-2-cc1bad8a279165f167f720374558e89e0a1c1b1e.tar.bz2
gentoo-2-cc1bad8a279165f167f720374558e89e0a1c1b1e.zip
Closing bug #85467. New snapshot (Microchip PIC support), cleanups, use of boehm-gc, documentation fix.
(Portage version: 2.0.54)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/sdcc/ChangeLog11
-rw-r--r--dev-embedded/sdcc/Manifest18
-rw-r--r--dev-embedded/sdcc/files/digest-sdcc-2.5.0_p200604232
-rw-r--r--dev-embedded/sdcc/sdcc-2.5.0_p20060423.ebuild45
4 files changed, 61 insertions, 15 deletions
diff --git a/dev-embedded/sdcc/ChangeLog b/dev-embedded/sdcc/ChangeLog
index 64994fd15f4c..1aa0d81fb884 100644
--- a/dev-embedded/sdcc/ChangeLog
+++ b/dev-embedded/sdcc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-embedded/sdcc
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.25 2005/09/03 06:42:37 dragonheart Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.26 2006/04/27 17:17:03 calchan Exp $
+
+*sdcc-2.5.0_p20060423 (27 Apr 2006)
+
+ 27 Apr 2006; Denis Dupeyron <calchan@gentoo.org>
+ +sdcc-2.5.0_p20060423.ebuild:
+ Closing bug #85467. New snapshot (Microchip PIC support), cleanups, use of
+ boehm-gc, documentation fix.
03 Sep 2005; Daniel Black <dragonheart@gentoo.org> sdcc-2.5.0.ebuild:
qa fixes
diff --git a/dev-embedded/sdcc/Manifest b/dev-embedded/sdcc/Manifest
index 64177710f7da..fef1b9363b6b 100644
--- a/dev-embedded/sdcc/Manifest
+++ b/dev-embedded/sdcc/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 66a6edf136410cbb8cced22ca2d0e94b sdcc-2.5.0.ebuild 1061
-MD5 7d36efc2d3cf66fe798832feb7034d92 metadata.xml 254
MD5 a77be59c5a278ffa7ee68ccfdf8bb0d8 ChangeLog 4221
-MD5 e85f3ce84504295db28455e101342da4 sdcc-2.4.0.ebuild 1032
MD5 bfc177a29ceb52dfa8883108634d1e7e files/digest-sdcc-2.4.0 63
MD5 d24d389e60331ef6cdb454ee3d8b440c files/digest-sdcc-2.5.0 63
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDGUXxmdTrptrqvGERAse9AKCEhRJ8/nJvmMqWvG5r5VtFELB8QQCcDkGo
-5k5FJKEwd3tKcTZXwVnfU8M=
-=PXiW
------END PGP SIGNATURE-----
+MD5 04cb4af4996e9e93be648e62c309e058 files/digest-sdcc-2.5.0_p20060423 140
+MD5 7d36efc2d3cf66fe798832feb7034d92 metadata.xml 254
+MD5 e85f3ce84504295db28455e101342da4 sdcc-2.4.0.ebuild 1032
+MD5 66a6edf136410cbb8cced22ca2d0e94b sdcc-2.5.0.ebuild 1061
+MD5 bb4ecf33bb2ff5273f9a00d66ebffb7e sdcc-2.5.0_p20060423.ebuild 1223
diff --git a/dev-embedded/sdcc/files/digest-sdcc-2.5.0_p20060423 b/dev-embedded/sdcc/files/digest-sdcc-2.5.0_p20060423
new file mode 100644
index 000000000000..eba355c2bfd7
--- /dev/null
+++ b/dev-embedded/sdcc/files/digest-sdcc-2.5.0_p20060423
@@ -0,0 +1,2 @@
+MD5 6093d47f95dff13b06e8be23f4bbba06 sdcc-doc-20060423.tar.gz 1024511
+MD5 8b352ddb3d33d49c001f5e0fcab1ac21 sdcc-src-20060423.tar.gz 4127523
diff --git a/dev-embedded/sdcc/sdcc-2.5.0_p20060423.ebuild b/dev-embedded/sdcc/sdcc-2.5.0_p20060423.ebuild
new file mode 100644
index 000000000000..10fb803d65ea
--- /dev/null
+++ b/dev-embedded/sdcc/sdcc-2.5.0_p20060423.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.5.0_p20060423.ebuild,v 1.1 2006/04/27 17:17:03 calchan Exp $
+
+inherit eutils
+
+MY_PV=${PV/*_p/}
+DESCRIPTION="Small device C compiler (for various microprocessors)."
+HOMEPAGE="http://sdcc.sourceforge.net/"
+SRC_URI="http://sdcc.sourceforge.net/snapshots/sdcc-src/${PN}-src-${MY_PV}.tar.gz
+ doc? ( http://sdcc.sourceforge.net/snapshots/docs/${PN}-doc-${MY_PV}.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc"
+
+DEPEND=">=dev-embedded/gputils-0.13.2
+ dev-libs/boehm-gc"
+RDEPEND="!dev-embedded/sdcc-cvs"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \;
+ find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \;
+ find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \;
+}
+
+src_compile() {
+ econf --enable-libgc || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "Install failed"
+ rm -rf ${D}/usr/share/${PN}/doc
+ dodoc ChangeLog
+ if use doc ; then
+ cp -pPR ${WORKDIR}/doc/* ${D}/usr/share/doc/${PF}/
+ find ${D}/usr/share/doc/${PF}/ -name *.txt -exec gzip -f -9 {} \;
+ fi
+}