Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 249749 Details for
Bug 339788
dev-embedded/arduino-0021 - new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
arduino-0021.ebuild
arduino-0021.ebuild (text/plain), 2.14 KB, created by
Torsten Kurbad
on 2010-10-06 14:25:42 UTC
(
hide
)
Description:
arduino-0021.ebuild
Filename:
MIME Type:
Creator:
Torsten Kurbad
Created:
2010-10-06 14:25:42 UTC
Size:
2.14 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-embedded/arduino/arduino-0017.ebuild,v 1.1 2009/10/17 18:15:07 nixphoeni Exp $ > >EAPI=3 >inherit eutils git > >DESCRIPTION="Arduino is an open-source AVR electronics prototyping platform" >HOMEPAGE="http://arduino.cc/" > >#SRC_URI="" > >EGIT_REPO_URI="git://github.com/arduino/Arduino.git" >EGIT_BRANCH="master" >EGIT_PROJECT="${P}" >EGIT_COMMIT="4c26e071c8ced7b1bf3c884550d4d77a4c42c554" > >LICENSE="GPL-2 LGPL-2 CCPL-Attribution-ShareAlike-3.0" >SLOT="0" >KEYWORDS="~x86 ~amd64" >RESTRICT="strip binchecks" >IUSE="java" >RDEPEND="dev-embedded/avrdude > sys-devel/crossdev" >DEPEND="dev-java/ant > dev-java/antlr > dev-java/jikes > dev-java/rxtx > dev-java/xstream > dev-embedded/uisp > virtual/jre" > >pkg_setup() { > [ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr" > einfo "Note that you need >=cross-avr/gcc-4.4.1, if you intend to use the new" > einfo "Arduino Mega 2560." >} > >pkg_postinst() { > pkg_setup > einfo "Copy /usr/share/${P}/hardware/cores/arduino/Makefile and edit it to suit the project" >} > >src_compile() { > cd "${S}/build" > ant || echo "ant build failed" >} > >src_install() { > rm -rf "${S}"/build/linux/work/hardware/tools/avrdude[.conf] > epatch "${FILESDIR}"/arduino-script-${PV}.patch > > mkdir -p "${D}/usr/share" "${D}/usr/bin" > > cp -a "${S}/build/linux/work" "${D}/usr/share/${P}" > > fowners -R root:uucp "/usr/share/${P}/hardware" > if use java; then > sed -e s@__PN__@${P}@g < "${FILESDIR}"/arduino > "${D}/usr/bin/arduino" > chmod +x "${D}/usr/bin/arduino" > > # get rid of libraries provided by other packages > #rm -f "${D}/usr/share/${P}/lib/RXTXcomm.jar" > rm -f "${D}/usr/share/${P}/lib/librxtxSerial.so" > rm -f "${D}/usr/share/${P}/lib/antlr.jar" > rm -f "${D}/usr/share/${P}/lib/ecj.jar" > > # use system avrdude > # patching class files is too hard > dosym /usr/bin/avrdude "/usr/share/${P}/hardware/tools/avrdude" > dosym /etc/avrdude.conf "/usr/share/${P}/hardware/tools/avrdude.conf" > > # IDE tries to compile these libs at first start up > fperms -R g+w "/usr/share/${P}/hardware/libraries" > fi > > dodoc readme.txt >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 339788
:
249609
|
249611
| 249749