diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-02-19 04:31:57 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-02-19 04:31:57 +0000 |
commit | bae88f0cec3b00a5fbc3d393f1cd6fad92c8c8ca (patch) | |
tree | 59bfd73568d2261b611162fa1a2ed055b5164720 /dev-embedded | |
parent | Version bump (Manifest recommit) (diff) | |
download | gentoo-2-bae88f0cec3b00a5fbc3d393f1cd6fad92c8c8ca.tar.gz gentoo-2-bae88f0cec3b00a5fbc3d393f1cd6fad92c8c8ca.tar.bz2 gentoo-2-bae88f0cec3b00a5fbc3d393f1cd6fad92c8c8ca.zip |
inital ebuild. ref bug #38473
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/sdcc/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/sdcc/files/digest-sdcc-20040218 | 1 | ||||
-rw-r--r-- | dev-embedded/sdcc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-embedded/sdcc/sdcc-20040218.ebuild | 51 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-embedded/sdcc/ChangeLog b/dev-embedded/sdcc/ChangeLog new file mode 100644 index 000000000000..6754d8412393 --- /dev/null +++ b/dev-embedded/sdcc/ChangeLog @@ -0,0 +1,7 @@ +# ChangeLog for dev-embedded/sdcc +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.1 2004/02/19 04:31:57 dragonheart Exp $ + + 19 Feb 2004; Daniel Black <dragonheart@gentoo.org> : + Initial import. bug #38473 thanks to Simon Smith supersi2000@hotmail.com + diff --git a/dev-embedded/sdcc/files/digest-sdcc-20040218 b/dev-embedded/sdcc/files/digest-sdcc-20040218 new file mode 100644 index 000000000000..dbcd87372369 --- /dev/null +++ b/dev-embedded/sdcc/files/digest-sdcc-20040218 @@ -0,0 +1 @@ +MD5 3f2a79ef7b31dccb953f8fc38eed51af sdcc-src-x86-linux2.cf.sourceforge.net-20040218.tar.gz 3012017 diff --git a/dev-embedded/sdcc/metadata.xml b/dev-embedded/sdcc/metadata.xml new file mode 100644 index 000000000000..92114080841c --- /dev/null +++ b/dev-embedded/sdcc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dev-embedded</herd> +</pkgmetadata> diff --git a/dev-embedded/sdcc/sdcc-20040218.ebuild b/dev-embedded/sdcc/sdcc-20040218.ebuild new file mode 100644 index 000000000000..ab1e6c1f61c2 --- /dev/null +++ b/dev-embedded/sdcc/sdcc-20040218.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-20040218.ebuild,v 1.1 2004/02/19 04:31:57 dragonheart Exp $ + +inherit eutils +S=${WORKDIR}/${PN} + +DESCRIPTION="SDCC is a Freeware, retargettable, optimizing ANSI - C compiler. The current version targets the Intel 8051, Maxim/Dallas 80DS390/400 and the Zilog Z80 based MCUs." +SRC_URI="http://sdcc.sourceforge.net/snapshots/sdcc-src/${PN}-src-x86-linux2.cf.sourceforge.net-${PV}.tar.gz" +HOMEPAGE="http://sdcc.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +IUSE="doc" + +DEPEND="virtual/glibc + sys-apps/gawk + sys-devel/libtool + sys-apps/grep + sys-devel/bison + doc? ( dev-tex/latex2html ) + doc? ( app-text/tetex ) + doc? ( app-office/lyx ) + doc? ( sys-apps/sed )" + + +RDEPEND="virtual/glibc" + + +src_compile() { + +# Clear CFLAGS... breaks with my Flags! +# unset CFLAGS CXXFLAGS + cd ${S} +# Fix doc directory + echo "docdir = @datadir@/doc/${P}" >> Makefile.common.in + echo "docdir = \$(datadir)/doc/${P}/usim" >> sim/ucsim/doc/Makefile.in + ./configure --prefix=/usr || die "configure failed" + emake + + # Echo - couple of errors in the doc. + use doc && echo -e "\n\n" | emake -j1 -C doc +} + +src_install() { + einstall || die + dodoc README COPYING ChangeLog + use doc && emake -C doc docdir=${D}/usr/share/doc/sdcc-20040217/ install +}
\ No newline at end of file |