Removed avr-libc ebuild
This commit is contained in:
parent
6daa628c7d
commit
2487d20d44
@ -1,5 +0,0 @@
|
||||
DIST avr-libc-2.0.0.tar.bz2 3590893 SHA256 b2dd7fd2eefd8d8646ef6a325f6f0665537e2f604ed02828ced748d49dc85b97 SHA512 fc8d062043d633350dbe05978935dcb8028257a4f1013f246af9658aef0671def19ac11577d1ee9302df68df1b8cf030b22441d96852e185db212263aacabea6 WHIRLPOOL 18f149bdda6cadb2e29d42e16a15fbe2d2331aa044a3c668a984bbf95ef2b5cad93b907bb4cadcac4f5002c6d62dd0928e74592cd453e21afe70618176a88231
|
||||
DIST avr-libc-manpages-2.0.0.tar.bz2 151137 SHA256 f1086ff15cbe341eda0286a7191c563a10127343573e01aad66a97924d7b41b5 SHA512 8b4aaa6ae176076171e90e629e0e6142c4c56f9cc4f1640432384276df2f7b457f5137739535b07b9cede9b5b2e564db7fe200203faa4e2d0cd9874432507823 WHIRLPOOL 2fd740cb4345c43d0789b12edc5d34eae5cf16c13ae1ad3f5984f13960c710255988f54bb576cd89a0a99685aa3883b29f0fabef4079002af0f2018857492e4b
|
||||
DIST avr-libc-user-manual-2.0.0.tar.bz2 932920 SHA256 3bb4dbfafe32595f035d3373afb622b68ae8c7a3d4bb2a8ed89ca69edc42e5b0 SHA512 246180be1f793b46335a49f33028ff59bd7cc06ca3d8627309521801e405e0e1305663a2c0760521467e75732ad513749bf707732b59fb17744e51acda9bb2c6 WHIRLPOOL 59090a877ab58f2fa208c15ad629e879c93f61513e3168fff34cee28555f40fb7870d8a16cc2daeb94fc69c2bc4ee1ceb046ffa5514a2277486465f84c81152f
|
||||
EBUILD avr-libc-2.0.0.ebuild 1885 SHA256 9110fddcea1a8a0637dc131d0cb27b18c7109926fa45dd8211646611ee1e6e6b SHA512 169da7322488edf870db18828cd4ead44e3169565114d351c070750c58ccfb7cbad5f7f418940542f9c26dfff3755de68af97ff5b766c875db50a003c3168555 WHIRLPOOL f184dcf99b8ac6dfb76be81cfa9dd33546d2735fb8b7f53d5cbfe19607f9ebc672770018aa5d7a035cd98b63e7b74707b0280ff980db1b04bfc9d1f32a78ce26
|
||||
MISC metadata.xml 470 SHA256 7cf932a070e783a07987d294d5212f831a4ce99bd95030dbfce21895886f0208 SHA512 0a09da72e78c945fa53ee056913bc563897dcb65c33e8cba04dfd15d57a1578a502f18071b0a3cd5feecdbc7e570bfddfde05deda12746e70962b841d90d566a WHIRLPOOL 3550bf83513ff00fa48af706aa9655fcc611dbe5a518aa03f65373eb70cbd791802451cbc13a480c67b8a2c8b5d605478f9c2d8dc31db9e246f71fa17e585dc4
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
CHOST="avr"
|
||||
CTARGET="avr"
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="C library for Atmel AVR microcontrollers"
|
||||
HOMEPAGE="http://www.nongnu.org/avr-libc/"
|
||||
BASE_URI="http://download.savannah.gnu.org/releases/avr-libc"
|
||||
SRC_URI="${BASE_URI}/${P}.tar.bz2
|
||||
${BASE_URI}/${PN}-manpages-${PV}.tar.bz2
|
||||
doc? ( ${BASE_URI}/${PN}-user-manual-${PV}.tar.bz2 )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc crosscompile_opts_headers-only"
|
||||
|
||||
DEPEND=">=sys-devel/crossdev-0.9.1"
|
||||
[[ ${CATEGORY/cross-} != ${CATEGORY} ]] \
|
||||
&& RDEPEND="!dev-embedded/avr-libc" \
|
||||
|| RDEPEND=""
|
||||
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
# check for avr-gcc, bug #134738
|
||||
ebegin "Checking for avr-gcc"
|
||||
if type -p avr-gcc > /dev/null ; then
|
||||
eend 0
|
||||
else
|
||||
eend 1
|
||||
|
||||
eerror
|
||||
eerror "Failed to locate 'avr-gcc' in \$PATH. You can install an AVR toolchain using:"
|
||||
eerror " $ crossdev -t avr"
|
||||
eerror
|
||||
die "AVR toolchain not found"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch_user #455828
|
||||
|
||||
# work around broken gcc versions PR45261
|
||||
local mcu
|
||||
for mcu in $(sed -r -n '/CHECK_AVR_DEVICE/{s:.*[(](.*)[)]:\1:;p}' configure.ac) ; do
|
||||
if avr-gcc -E - -mmcu=${mcu} <<<"" |& grep -q 'unknown MCU' ; then
|
||||
sed -i "/HAS_${mcu}=yes/s:yes:no:" configure
|
||||
fi
|
||||
done
|
||||
|
||||
# Install docs in correct directory
|
||||
sed -i -e "/DOC_INST_DIR/s:\$(VERSION):${PVR}:" configure || die
|
||||
|
||||
strip-flags
|
||||
strip-unsupported-flags
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# man pages can not go into standard locations
|
||||
# as they would then overwrite libc man pages
|
||||
insinto /usr/share/doc/${PF}/man/man3
|
||||
doins "${WORKDIR}"/man/man3/*
|
||||
|
||||
use doc && dohtml "${WORKDIR}"/${PN}-user-manual-${PV}/*
|
||||
|
||||
# Make sure diff cross-compilers don't collide #414075
|
||||
mv "${ED}"/usr/share/doc/{${PF},${CTARGET}-${PF}} || die
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>embedded@gentoo.org</email>
|
||||
<name>Embedded Gentoo</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).
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user