diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2006-05-05 18:41:39 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2006-05-05 18:41:39 +0000 |
commit | 6a42489d9bd66294002784c23671e6f340def31a (patch) | |
tree | 5fc6c2b32a44bb73f5213e441e330a0c78ef8452 /dev-embedded | |
parent | New ebuild thanks to karpi <karpi.web@email.cz> in bug 132064 (diff) | |
download | historical-6a42489d9bd66294002784c23671e6f340def31a.tar.gz historical-6a42489d9bd66294002784c23671e6f340def31a.tar.bz2 historical-6a42489d9bd66294002784c23671e6f340def31a.zip |
Initial commit.
Package-Manager: portage-2203-svn
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/sdcc-svn/ChangeLog | 10 | ||||
-rw-r--r-- | dev-embedded/sdcc-svn/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/sdcc-svn/files/digest-sdcc-svn-2.5.0 | 0 | ||||
-rw-r--r-- | dev-embedded/sdcc-svn/metadata.xml | 6 | ||||
-rw-r--r-- | dev-embedded/sdcc-svn/sdcc-svn-2.5.0.ebuild | 54 |
5 files changed, 74 insertions, 0 deletions
diff --git a/dev-embedded/sdcc-svn/ChangeLog b/dev-embedded/sdcc-svn/ChangeLog new file mode 100644 index 000000000000..e145a28c1705 --- /dev/null +++ b/dev-embedded/sdcc-svn/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-embedded/sdcc-svn +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-svn/ChangeLog,v 1.1 2006/05/05 18:41:38 calchan Exp $ + +*sdcc-svn-2.5.0 (05 May 2006) + + 05 May 2006; Denis Dupeyron <calchan@gentoo.org> +metadata.xml, + +sdcc-svn-2.5.0.ebuild: + Initial commit. + diff --git a/dev-embedded/sdcc-svn/Manifest b/dev-embedded/sdcc-svn/Manifest new file mode 100644 index 000000000000..85b473a96a8c --- /dev/null +++ b/dev-embedded/sdcc-svn/Manifest @@ -0,0 +1,4 @@ +MD5 47cb3ac9a08c90d6bfab4243b51d229b ChangeLog 358 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-sdcc-svn-2.5.0 0 +MD5 f536e36604c0dbef47ae742a6ec1759d metadata.xml 290 +MD5 aaafe8fffd057154d263fb3fa12c177f sdcc-svn-2.5.0.ebuild 1634 diff --git a/dev-embedded/sdcc-svn/files/digest-sdcc-svn-2.5.0 b/dev-embedded/sdcc-svn/files/digest-sdcc-svn-2.5.0 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/dev-embedded/sdcc-svn/files/digest-sdcc-svn-2.5.0 diff --git a/dev-embedded/sdcc-svn/metadata.xml b/dev-embedded/sdcc-svn/metadata.xml new file mode 100644 index 000000000000..4bffe3512fa8 --- /dev/null +++ b/dev-embedded/sdcc-svn/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, sources from Subversion repository)</longdescription> +</pkgmetadata> diff --git a/dev-embedded/sdcc-svn/sdcc-svn-2.5.0.ebuild b/dev-embedded/sdcc-svn/sdcc-svn-2.5.0.ebuild new file mode 100644 index 000000000000..03cbe955b0f8 --- /dev/null +++ b/dev-embedded/sdcc-svn/sdcc-svn-2.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc-svn/sdcc-svn-2.5.0.ebuild,v 1.1 2006/05/05 18:41:38 calchan Exp $ + +ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/sdcc/trunk/sdcc" + +inherit subversion + +DESCRIPTION="Small device C compiler (for various microprocessors, sources from Subversion repository)" +HOMEPAGE="http://sdcc.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND=">=dev-embedded/gputils-0.13.2 + dev-libs/boehm-gc + doc? ( >=app-office/lyx-1.3.4 )" +RDEPEND="!dev-embedded/sdcc + !dev-embedded/sdcc-cvs" + +src_unpack() { + subversion_src_unpack + cd ${S} + + # Fix conflicting variable names between Gentoo and sdcc + find ./ -type f -exec sed -i s:PORTDIR:PORTINGDIR:g {} \; || die "sed failed" + find device/lib/pic*/ -type f -exec sed -i s:ARCH:SDCCARCH:g {} \; || die "sed failed" + find device/lib/pic/libdev/ -type f -exec sed -i s:CFLAGS:SDCCFLAGS:g {} \; || die "sed failed" + + # --as-needed fix : + sed -i -e "s/= @CURSES_LIBS@ @LIBS@/= @CURSES_LIBS@ @LIBS@ -lcurses/" sim/ucsim/gui.src/serio.src/Makefile.in || die "sed failed" +} + +src_compile() { + econf --enable-libgc docdir=/usr/share/doc/${PF} || die "Configure failed" + emake || die "Make failed" + if use doc ; then + cd doc + lyx -e html cdbfileformat + lyx -e html sdccman + lyx -e html test_suite_spec + fi +} + +src_install() { + emake DESTDIR=${D} install || die "Make install failed" + if use doc ; then + cd doc + insinto /usr/share/doc/${PF} + doins cdbfileformat.html sdccman.html test_suite_spec.html + fi +} |