diff options
-rw-r--r-- | dev-embedded/sdcc/ChangeLog | 11 | ||||
-rw-r--r-- | dev-embedded/sdcc/files/digest-sdcc-2.4.0 | 1 | ||||
-rw-r--r-- | dev-embedded/sdcc/files/digest-sdcc-2.4.0_p20040304 | 1 | ||||
-rw-r--r-- | dev-embedded/sdcc/files/digest-sdcc-20040218 | 1 | ||||
-rw-r--r-- | dev-embedded/sdcc/metadata.xml | 1 | ||||
-rw-r--r-- | dev-embedded/sdcc/sdcc-2.4.0.ebuild | 39 | ||||
-rw-r--r-- | dev-embedded/sdcc/sdcc-2.4.0_p20040304.ebuild | 40 | ||||
-rw-r--r-- | dev-embedded/sdcc/sdcc-20040218.ebuild | 51 |
8 files changed, 91 insertions, 54 deletions
diff --git a/dev-embedded/sdcc/ChangeLog b/dev-embedded/sdcc/ChangeLog index 022293f1b919..786bc3c53838 100644 --- a/dev-embedded/sdcc/ChangeLog +++ b/dev-embedded/sdcc/ChangeLog @@ -1,8 +1,15 @@ # 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.2 2004/03/01 12:48:54 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/ChangeLog,v 1.3 2004/03/05 02:13:07 dragonheart Exp $ -*sdcc-20040218 (19 Feb 2004) +*sdcc-2.4.0 (05 Mar 2004) + + 05 Mar 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml, + sdcc-2.4.0.ebuild, sdcc-2.4.0_p20040304.ebuild, sdcc-20040218.ebuild: + Version bump to stable version 2.4.0 - Thanks to Laurence Withers + <lwithers@users.sf.net> for the ebuild in bug #43040. Added version + sdcc-2.4.0_p20040304 too. Removed sdcc-20040218.ebuild due to old + naming scheme. 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-2.4.0 b/dev-embedded/sdcc/files/digest-sdcc-2.4.0 new file mode 100644 index 000000000000..cdf5afa376bd --- /dev/null +++ b/dev-embedded/sdcc/files/digest-sdcc-2.4.0 @@ -0,0 +1 @@ +MD5 ef959381f292d8857d8679f92a71582d sdcc-2.4.0.tar.gz 3021296 diff --git a/dev-embedded/sdcc/files/digest-sdcc-2.4.0_p20040304 b/dev-embedded/sdcc/files/digest-sdcc-2.4.0_p20040304 new file mode 100644 index 000000000000..5de7e77c0ef6 --- /dev/null +++ b/dev-embedded/sdcc/files/digest-sdcc-2.4.0_p20040304 @@ -0,0 +1 @@ +MD5 fdb736a9ed005f632e4c14b3fd9e4f89 sdcc-src-20040304.tar.gz 3035637 diff --git a/dev-embedded/sdcc/files/digest-sdcc-20040218 b/dev-embedded/sdcc/files/digest-sdcc-20040218 deleted file mode 100644 index dbcd87372369..000000000000 --- a/dev-embedded/sdcc/files/digest-sdcc-20040218 +++ /dev/null @@ -1 +0,0 @@ -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 index 92114080841c..533d94bcd362 100644 --- a/dev-embedded/sdcc/metadata.xml +++ b/dev-embedded/sdcc/metadata.xml @@ -2,4 +2,5 @@ <!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/sdcc-2.4.0.ebuild b/dev-embedded/sdcc/sdcc-2.4.0.ebuild new file mode 100644 index 000000000000..87712c35de16 --- /dev/null +++ b/dev-embedded/sdcc/sdcc-2.4.0.ebuild @@ -0,0 +1,39 @@ +# 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-2.4.0.ebuild,v 1.1 2004/03/05 02:13:07 dragonheart Exp $ + +S=${WORKDIR}/${PN} +DESCRIPTION="Small device C compiler (for various microprocessors)" +SRC_URI="mirror://sourceforge/sdcc/${P}.tar.gz" +HOMEPAGE="http://sdcc.sourceforge.net/" +RESTRICT="nomirror" + +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 )" + +src_compile() { + econf || die "Configure failed" + emake || die "Make failed" + use doc && { + echo -e "\n\n" | emake -C doc + # || die "Making documentation failed" + } +} + +src_install() { + einstall || die "Make install failed" + dodoc COPYING ChangeLog doc/README.txt doc/libdoc.txt doc/INSTALL.txt + use doc && emake -C doc docdir=${D}/usr/share/doc/${P}/ install +} diff --git a/dev-embedded/sdcc/sdcc-2.4.0_p20040304.ebuild b/dev-embedded/sdcc/sdcc-2.4.0_p20040304.ebuild new file mode 100644 index 000000000000..edab2a4c2f15 --- /dev/null +++ b/dev-embedded/sdcc/sdcc-2.4.0_p20040304.ebuild @@ -0,0 +1,40 @@ +# 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-2.4.0_p20040304.ebuild,v 1.1 2004/03/05 02:13:07 dragonheart Exp $ + +S=${WORKDIR}/${PN} +MY_PV=${PV/*_p/} + +DESCRIPTION="Small device C compiler (for various microprocessors)" +SRC_URI="http://sdcc.sourceforge.net/snapshots/sdcc-src/${PN}-src-${MY_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 )" + +src_compile() { + econf || die "Configure failed" + emake || die "Make failed" + use doc && { + echo -e "\n\n" | emake -C doc + # || die "Making documentation failed" + } +} + +src_install() { + einstall || die "Make install failed" + dodoc COPYING ChangeLog doc/README.txt doc/libdoc.txt doc/INSTALL.txt + use doc && emake -C doc docdir=${D}/usr/share/doc/${P}/ install +} diff --git a/dev-embedded/sdcc/sdcc-20040218.ebuild b/dev-embedded/sdcc/sdcc-20040218.ebuild deleted file mode 100644 index 8294730aa5ad..000000000000 --- a/dev-embedded/sdcc/sdcc-20040218.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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.2 2004/02/22 19:48:21 agriffis 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 -} |