summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-09-28 07:29:20 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-09-28 07:29:20 +0000
commitc9ec0a0a1dda7352e258e8a0d95e0cabfd3656df (patch)
treef3d8f1d477e4dc9c65bc106f3f5a82abc87bd0e9 /dev-embedded/sdcc-cvs
parent Version bump/cleanout. added RDEPEND=!dev-embedded/sdcc-cvs. Changed einstal... (diff)
downloadgentoo-2-c9ec0a0a1dda7352e258e8a0d95e0cabfd3656df.tar.gz
gentoo-2-c9ec0a0a1dda7352e258e8a0d95e0cabfd3656df.tar.bz2
gentoo-2-c9ec0a0a1dda7352e258e8a0d95e0cabfd3656df.zip
Initial version. Added due to the consistancy of dev-embedded/sdcc ebuilds. Was initialy requested in bug #46315
Diffstat (limited to 'dev-embedded/sdcc-cvs')
-rw-r--r--dev-embedded/sdcc-cvs/ChangeLog11
-rw-r--r--dev-embedded/sdcc-cvs/Manifest2
-rw-r--r--dev-embedded/sdcc-cvs/files/digest-sdcc-cvs-2.4.00
-rw-r--r--dev-embedded/sdcc-cvs/metadata.xml6
-rw-r--r--dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0.ebuild45
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-embedded/sdcc-cvs/ChangeLog b/dev-embedded/sdcc-cvs/ChangeLog
new file mode 100644
index 000000000000..db474850c744
--- /dev/null
+++ b/dev-embedded/sdcc-cvs/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-embedded/sdcc-cvs
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-cvs/ChangeLog,v 1.1 2004/09/28 07:29:20 dragonheart Exp $
+
+*sdcc-cvs-2.4.0 (28 Sep 2004)
+
+ 28 Sep 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
+ +sdcc-cvs-2.4.0.ebuild:
+ Initial version. Added due to the consistancy of dev-embedded/sdcc ebuilds.
+ Was initialy requested in bug #46315
+
diff --git a/dev-embedded/sdcc-cvs/Manifest b/dev-embedded/sdcc-cvs/Manifest
new file mode 100644
index 000000000000..3bb37535ad95
--- /dev/null
+++ b/dev-embedded/sdcc-cvs/Manifest
@@ -0,0 +1,2 @@
+MD5 fff2eb41689ae9afe7a2da66e7f327db sdcc-cvs-2.4.0.ebuild 979
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sdcc-cvs-2.4.0 0
diff --git a/dev-embedded/sdcc-cvs/files/digest-sdcc-cvs-2.4.0 b/dev-embedded/sdcc-cvs/files/digest-sdcc-cvs-2.4.0
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/dev-embedded/sdcc-cvs/files/digest-sdcc-cvs-2.4.0
diff --git a/dev-embedded/sdcc-cvs/metadata.xml b/dev-embedded/sdcc-cvs/metadata.xml
new file mode 100644
index 000000000000..533d94bcd362
--- /dev/null
+++ b/dev-embedded/sdcc-cvs/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dev-embedded</herd>
+<longdescription>Small device C compiler (for various microprocessors)</longdescription>
+</pkgmetadata>
diff --git a/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0.ebuild b/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0.ebuild
new file mode 100644
index 000000000000..48f7e8885d35
--- /dev/null
+++ b/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-cvs/sdcc-cvs-2.4.0.ebuild,v 1.1 2004/09/28 07:29:20 dragonheart Exp $
+
+
+ECVS_SERVER="cvs.sourceforge.net:/cvsroot/sdcc"
+ECVS_MODULE="sdcc"
+
+inherit cvs
+
+S=${WORKDIR}/${ECVS_MODULE}
+DESCRIPTION="Small device C compiler (for various microprocessors, sources from CVS)"
+HOMEPAGE="http://sdcc.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+IUSE="doc"
+
+DEPEND="virtual/libc
+ sys-apps/gawk
+ sys-devel/libtool
+ sys-apps/grep
+ sys-devel/bison
+ doc? ( dev-tex/latex2html
+ virtual/tetex
+ >=app-office/lyx-1.3.4
+ sys-apps/sed )"
+
+RDEPEND="virtual/libc
+ !dev-embedded/sdcc"
+
+src_compile() {
+ econf || die "Configure failed"
+ emake || die "Make failed"
+ use doc && {
+ emake -C doc || die "Making documentation failed"
+ }
+}
+
+src_install() {
+ einstall || die "Make install failed"
+ dodoc ChangeLog doc/README.txt doc/libdoc.txt doc/INSTALL.txt
+ use doc && emake -C doc docdir=${D}/usr/share/doc/${PF} install
+}