diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-09-12 14:10:01 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-09-12 14:10:01 +0000 |
commit | f4b459eb083450ba708d659b0799700cc2fbc643 (patch) | |
tree | c9525d703326475077dac59f6d594a97af573756 /dev-embedded | |
parent | Mark 1.4.1 stable on alpha (diff) | |
download | historical-f4b459eb083450ba708d659b0799700cc2fbc643.tar.gz historical-f4b459eb083450ba708d659b0799700cc2fbc643.tar.bz2 historical-f4b459eb083450ba708d659b0799700cc2fbc643.zip |
Use econf instead of calling ./configure directly, install man pages and optionally user manual.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-embedded')
-rw-r--r-- | dev-embedded/avr-libc/Manifest | 18 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.2.5-r1.ebuild | 60 | ||||
-rw-r--r-- | dev-embedded/avr-libc/files/digest-avr-libc-1.2.5-r1 | 3 | ||||
-rw-r--r-- | dev-embedded/avr-libc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-embedded/avrdude/Manifest | 4 |
5 files changed, 75 insertions, 15 deletions
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest index b0076a3d0079..d80119d489d8 100644 --- a/dev-embedded/avr-libc/Manifest +++ b/dev-embedded/avr-libc/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 08b590b8ab0701c144d40f77ab64ef39 avr-libc-1.2.5.ebuild 1106 -MD5 d05677e7bc0cae2e33f6a6736b9aca03 metadata.xml 486 +MD5 8824e557dcbfeb7aec7b7132ea09b997 avr-libc-1.2.5-r1.ebuild 1608 MD5 4286f0a7edd4a06a4d296a3cd54fdda4 avr-libc-1.2.3.ebuild 1006 +MD5 08b590b8ab0701c144d40f77ab64ef39 avr-libc-1.2.5.ebuild 1106 MD5 73b858860a631c387d539022f06ad8f4 ChangeLog 1858 +MD5 344ed7ef46ebb29e928c6f475d8daca0 metadata.xml 585 +MD5 f7663133f4544fe22f702b8bce716c3e files/digest-avr-libc-1.2.5-r1 221 MD5 ee96360211c9e70e81677b740b1b139a files/digest-avr-libc-1.2.3 67 -MD5 a171e49ae4824538fe554c27b30d5fd0 files/avr-libc-macros.patch 497 MD5 d42ca83e3a453900cd76b5b9d500fd65 files/digest-avr-libc-1.2.5 67 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFC+8eQgIKl8Uu19MoRAnkaAJ9oF7qYeOTXvfzQOB2HYkUuTQDOSACfSnbc -D2bQ9MHfPcSIZu2u47HrKXs= -=pmWN ------END PGP SIGNATURE----- +MD5 a171e49ae4824538fe554c27b30d5fd0 files/avr-libc-macros.patch 497 diff --git a/dev-embedded/avr-libc/avr-libc-1.2.5-r1.ebuild b/dev-embedded/avr-libc/avr-libc-1.2.5-r1.ebuild new file mode 100644 index 000000000000..ab31da270866 --- /dev/null +++ b/dev-embedded/avr-libc/avr-libc-1.2.5-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.2.5-r1.ebuild,v 1.1 2005/09/12 14:10:01 brix Exp $ + +inherit eutils flag-o-matic + +DESCRIPTION="Libc for the AVR microcontroller architecture" +HOMEPAGE="http://www.nongnu.org/avr-libc/" +SRC_URI="http://savannah.nongnu.org/download/avr-libc/${P}.tar.bz2 + http://savannah.nongnu.org/download/avr-libc/${PN}-manpages-${PV}.tar.bz2 + doc? ( http://savannah.nongnu.org/download/avr-libc/${PN}-user-manual-${PV}.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +IUSE="doc nls" +DEPEND=">=sys-devel/crossdev-0.9.1" +[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \ + && RDEPEND="!dev-embedded/avr-libc" \ + || RDEPEND="" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${PN}-macros.patch +} + +src_compile() { + export AS=avr-as AR=avr-ar RANLIB=avr-ranlib CC=avr-gcc ABI=retarded + + strip-flags + strip-unsupported-flags + + mkdir obj-avr + cd "${S}"/obj-avr + + ECONF_SOURCE="${S}" CHOST="avr" CTARGET="avr" econf \ + $(use_enable nls) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + dodoc AUTHORS ChangeLog* NEWS README + + cd "${S}"/obj-avr + make DESTDIR="${D}" install || die "make install failed" + + # man pages can not go into standard locations + # as they would then overwrite libc man pages + dosed "s:\$(VERSION):${PVR}:" /usr/bin/avr-man + insinto /usr/share/doc/${PF}/man/man3 + doins "${WORKDIR}"/man3/* + prepman /usr/share/doc/${PF} + + use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${PV}/* +} diff --git a/dev-embedded/avr-libc/files/digest-avr-libc-1.2.5-r1 b/dev-embedded/avr-libc/files/digest-avr-libc-1.2.5-r1 new file mode 100644 index 000000000000..255950976f47 --- /dev/null +++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.2.5-r1 @@ -0,0 +1,3 @@ +MD5 b335df54d54ad47570f3e1e6794b4532 avr-libc-1.2.5.tar.bz2 319622 +MD5 09b6fda396ebe428787c9e037ea923a4 avr-libc-manpages-1.2.5.tar.bz2 81548 +MD5 f8cbe7fd5c86ff63a3abb8cc787fc3b1 avr-libc-user-manual-1.2.5.tar.bz2 110973 diff --git a/dev-embedded/avr-libc/metadata.xml b/dev-embedded/avr-libc/metadata.xml index 5e5c878361bf..30bb01d590e8 100644 --- a/dev-embedded/avr-libc/metadata.xml +++ b/dev-embedded/avr-libc/metadata.xml @@ -9,6 +9,11 @@ <name>Daniel Black</name> </maintainer> + <maintainer> + <email>brix@gentoo.org</email> + <name>Henrik Brix Andersen</name> + </maintainer> + <longdescription> This package is part of the avr- binutils, -gcc, -lib toolchain for the Atmel microcontrollers. These ebuilds have been created and submitted by Scott L. Price (dflytech.com). diff --git a/dev-embedded/avrdude/Manifest b/dev-embedded/avrdude/Manifest index 0603fd1ec54a..bd83ed025af3 100644 --- a/dev-embedded/avrdude/Manifest +++ b/dev-embedded/avrdude/Manifest @@ -1,7 +1,7 @@ MD5 a35d202200bc1073e21d8f41d38ecfdb avrdude-5.0_beta.ebuild 853 MD5 de8c291759839bb9a12e0360502a4387 avrdude-4.4.0-r1.ebuild 814 -MD5 1d5448e1fc61e0a754656eff96c926a9 ChangeLog 1427 -MD5 61dd990d46d9043e65248d672b9e217e metadata.xml 265 +MD5 2b339484e2de65e3ed612ac0bbcd455c ChangeLog 1529 +MD5 c83ea1f0126514b245654a5f9e0b2965 metadata.xml 364 MD5 1f49502ac24572171b5de332b6b41948 files/avrdude-html-doc-build-fix.patch 1227 MD5 9702100a17fc48b47ebdbcbdc8a3313a files/digest-avrdude-5.0_beta 68 MD5 dfbaf205065b44ca16000f2fac812136 files/digest-avrdude-4.4.0-r1 65 |