diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-20 15:38:22 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-20 15:38:22 +0000 |
commit | d824a532dbe60f241a8a994fa9529a88c304ff52 (patch) | |
tree | f31e9fa8e7a84ec0db64a2ce99483303068ef983 /dev-embedded/avr-libc | |
parent | Added ~ppc64 keyword (diff) | |
download | gentoo-2-d824a532dbe60f241a8a994fa9529a88c304ff52.tar.gz gentoo-2-d824a532dbe60f241a8a994fa9529a88c304ff52.tar.bz2 gentoo-2-d824a532dbe60f241a8a994fa9529a88c304ff52.zip |
Version bump.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'dev-embedded/avr-libc')
-rw-r--r-- | dev-embedded/avr-libc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-embedded/avr-libc/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/avr-libc/avr-libc-1.4.0.ebuild | 68 | ||||
-rw-r--r-- | dev-embedded/avr-libc/files/digest-avr-libc-1.4.0 | 3 |
4 files changed, 81 insertions, 2 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog index 42abf8acf6a8..99706fb8f69a 100644 --- a/dev-embedded/avr-libc/ChangeLog +++ b/dev-embedded/avr-libc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-embedded/avr-libc # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.17 2005/11/13 15:34:35 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.18 2005/11/20 15:38:22 brix Exp $ + +*avr-libc-1.4.0 (20 Nov 2005) + + 20 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +avr-libc-1.4.0.ebuild: + Version bump. 13 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> avr-libc-1.2.6.ebuild: Fixed manpages installation. diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest index 32917ff4cbe8..cda23e4a23f2 100644 --- a/dev-embedded/avr-libc/Manifest +++ b/dev-embedded/avr-libc/Manifest @@ -1,9 +1,11 @@ +MD5 0dc545f93ba5bc8fc6f8534615c52f6d avr-libc-1.4.0.ebuild 1672 MD5 d6ef36a553c165da8f883bf663045bfd avr-libc-1.2.6.ebuild 1585 MD5 171036e8bf7d0a2c23e09a8e0af42cff avr-libc-1.2.5-r1.ebuild 1613 MD5 4286f0a7edd4a06a4d296a3cd54fdda4 avr-libc-1.2.3.ebuild 1006 -MD5 67b9145bf78bddaa3975b81e47a0e898 ChangeLog 2634 +MD5 c7ecb46ed9ba50c64f244375e5064f1e ChangeLog 2762 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 bf1b64eea4438227594018854bae3599 files/digest-avr-libc-1.2.6 221 +MD5 2ae780655a7b47c93be07baff58b0bc0 files/digest-avr-libc-1.4.0 221 MD5 a171e49ae4824538fe554c27b30d5fd0 files/avr-libc-macros.patch 497 diff --git a/dev-embedded/avr-libc/avr-libc-1.4.0.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.0.ebuild new file mode 100644 index 000000000000..b4afd6d275e0 --- /dev/null +++ b/dev-embedded/avr-libc/avr-libc-1.4.0.ebuild @@ -0,0 +1,68 @@ +# 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.4.0.ebuild,v 1.1 2005/11/20 15:38:22 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 ~ppc ~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() { + cd "${S}"/obj-avr + make DESTDIR="${D}" install || die "make install failed" + + cd "${S}" + dodoc AUTHORS ChangeLog* NEWS README + + # 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}"/man/man3/* + prepman /usr/share/doc/${PF} + + use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${PV}/* +} + +pkg_postinst() { + ewarn + ewarn "Please see the file /usr/share/doc/${PF}/NEWS.gz for a list of" + ewarn "the API changes since ${PN}-1.2.x." + ewarn +} diff --git a/dev-embedded/avr-libc/files/digest-avr-libc-1.4.0 b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.0 new file mode 100644 index 000000000000..3dc384dd6678 --- /dev/null +++ b/dev-embedded/avr-libc/files/digest-avr-libc-1.4.0 @@ -0,0 +1,3 @@ +MD5 f32c3728fd99055fec6420843e6b5863 avr-libc-1.4.0.tar.bz2 461160 +MD5 a251deecc4e368f5034069b003412814 avr-libc-manpages-1.4.0.tar.bz2 91919 +MD5 58c1d6e46f6aaa2b5883fdb51ca4ad18 avr-libc-user-manual-1.4.0.tar.bz2 134481 |