diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-07-18 06:27:08 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-07-18 06:27:08 +0000 |
commit | 9c42df3f9f6004c1a8c29fe0ec7cdba5ade0f153 (patch) | |
tree | 4c7c2d68531ea0ff5834f6020aecdfc5be7fb9e5 /dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild | |
parent | Version cleanout. version bump solves bug #48076 (diff) | |
download | historical-9c42df3f9f6004c1a8c29fe0ec7cdba5ade0f153.tar.gz historical-9c42df3f9f6004c1a8c29fe0ec7cdba5ade0f153.tar.bz2 historical-9c42df3f9f6004c1a8c29fe0ec7cdba5ade0f153.zip |
version bump. Old version cleanout
Diffstat (limited to 'dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild')
-rw-r--r-- | dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild b/dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild new file mode 100644 index 000000000000..5b68b94a3481 --- /dev/null +++ b/dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/sdcc/sdcc-2.4.0_p20040716.ebuild,v 1.1 2004/07/18 06:27:08 dragonheart Exp $ + +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" + +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" + +S=${WORKDIR}/${PN} + +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/${P}/ install +} |