Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101983 Details for
Bug 155247
tos-deluge-1.1.15 for tinyos-1.1.15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tos-deluge-1.1.15.ebuild
tos-deluge-1.1.15.ebuild (text/plain), 3.20 KB, created by
Aurélien Francillon
on 2006-11-15 06:42:21 UTC
(
hide
)
Description:
tos-deluge-1.1.15.ebuild
Filename:
MIME Type:
Creator:
Aurélien Francillon
Created:
2006-11-15 06:42:21 UTC
Size:
3.20 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >CVS_MONTH="Dec" >CVS_YEAR="2005" >MY_P="tinyos" > >inherit eutils java-pkg java-utils > >DESCRIPTION="The TinyOS tools to use deluge, progamation over the air for motes " >HOMEPAGE="http://www.tinyos.net/" >SRC_URI="http://www.tinyos.net/dist-1.1.0/tinyos/source/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs.tar.gz" >LICENSE="Intel" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="source micaz mica2 telosb" >DEPEND=">=dev-java/ibm-jdk-bin-1.4.0 > dev-java/java-config > >=dev-tinyos/tos-getenv-1.1.15 > >=dev-tinyos/tos-util-1.1.15 > >=dev-tinyos/tos-message-1.1.15 > >=dev-tinyos/ncc-1.1.15 > source? ( app-arch/zip ) > mica? (cross-avr/gcc) > micz? (cross-avr/gcc) > telosb? (cross-msp430/gcc)" >RDEPEND=">=dev-java/ibm-jdk-bin-1.4.0 > >=dev-tinyos/tos-getenv-1.1.15 > >=dev-tinyos/tos-util-1.1.15 > >=dev-tinyos/tos-message-1.1.15 > source? ( app-arch/zip )" > >S=${WORKDIR}/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs/tools/java > >pkg_setup() { > > if ! built_with_use dev-java/ibm-jdk-bin javacomm ; then > eerror "javacomm is required! Add javacomm to your use flag then re-emerge ibm-jdk-bin." > eerror "Then re-emerge this package." > die "setup failed due to missing prerequisite: javacomm" > fi > > java-utils_setup-vm > java-utils_ensure-vm-version-ge 1 4 0 > local vendor=`java-utils_get-vm-vendor` > einfo "${vendor} vm detected." > if ! [[ ${vendor} = "ibm-jdk-bin" ]]; then > eerror "ibm-jdk-bin is required!" > eerror "Please use java-config -S to set your system vm to a ibm-jdk." > die "setup failed due to missing prerequisite: ibm-jdk-bin" > fi >} > >src_compile() { > local cp="." > cp=${cp}:$(java-pkg_getjars tos-util) > cp=${cp}:$(java-pkg_getjars tos-message) > cp=${cp}:${S} > > # build the stuff with mig > sed -i 's@TOS = $(shell ncc -print-tosdir)@TOS=${S}/../../tos@g' net/tinyos/deluge/Makefile > > (use micaz && use mica2 || use micaz && use telosb || use telosb && use mica2 ) && die "chose only one of mica2 micaz telosb " > > > if use micaz ; then > sed -i 's@DELUGE_PLATFORM=telosb@DELUGE_PLATFORM=micaz@g' net/tinyos/deluge/Makefile && einfo "building deluge for micaz" ||die > elif use mica2 ; then > sed -i 's@DELUGE_PLATFORM=telosb@DELUGE_PLATFORM=mica2@g' net/tinyos/deluge/Makefile && einfo "building deluge for mica2" || die > elif use telosb ; then > einfo "building deluge for telosb" > else > eerror "no platform chosen" > die "chose one of mica2 micaz telosb" > fi > > einfo "Creating java files with mig" > make -C net/tinyos/deluge DelugeAdvMsg.java > make -C net/tinyos/deluge DelugeReqMsg.java > make -C net/tinyos/deluge DelugeDataMsg.java > make -C net/tinyos/deluge NetProgMsg.java > make -C net/tinyos/deluge DelugeConsts.java > > einfo "Compiling TinyOS Deluge" > find net/tinyos/deluge -name "*.java" | xargs $(java-config-2 -c) -source 1.4 -classpath ${cp} -nowarn || die "Failed to compile" > echo "net/tinyos/tools/Deluge.java" | xargs $(java-config-2 -c) -source 1.4 -classpath ${cp} -nowarn || die "Failed to compile" > > einfo "Packaging TinyOS Deluge" > find net/tinyos/{deluge,tools} -name "*.class" | xargs jar cf ${PN}.jar > >} > >src_install() { > dobin ${FILESDIR}/deluge > java-pkg_dojar ${PN}.jar > use source && java-pkg_dosrc /net/tinyos/deluge >}
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 155247
: 101983 |
101985