Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66180 Details for
Bug 102908
tos-packet-1.1.14 for tinyos-1.1.14-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tos-packet-1.1.14.ebuild
tos-packet-1.1.14.ebuild (text/plain), 2.04 KB, created by
Sandro Bonazzola (RETIRED)
on 2005-08-17 15:03:03 UTC
(
hide
)
Description:
tos-packet-1.1.14.ebuild
Filename:
MIME Type:
Creator:
Sandro Bonazzola (RETIRED)
Created:
2005-08-17 15:03:03 UTC
Size:
2.04 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >CVS_MONTH="Jul" >CVS_YEAR="2005" >MY_P="tinyos" > >inherit java-pkg java-utils > >DESCRIPTION="The basic underlying abstraction for TinyOS packet-format layer" >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="1" >KEYWORDS="~x86" >IUSE="source javacomm" >DEPEND=">=dev-java/ibm-jdk-bin-1.4.0 > dev-java/java-config > >=dev-embedded/tos-getenv-1.1.14 > >=dev-embedded/tos-util-1.1.14 > >=dev-embedded/tos-message-1.1.14 > source? ( app-arch/zip )" >RDEPEND=">=dev-java/ibm-jdk-bin-1.4.0 > >=dev-embedded/tos-getenv-1.1.14 > >=dev-embedded/tos-util-1.1.14 > >=dev-embedded/tos-message-1.1.14 > source? ( app-arch/zip )" > >S="${WORKDIR}/tinyos-1.x/tools/java" > >pkg_setup() { > 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 > > if ! useq 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 >} > > >src_unpack() { > unpack ${A} > cd ${WORKDIR} > mv ${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs tinyos-1.x >} > >src_compile() { > local cp="." > cp=${cp}:$(java-pkg_getjars tos-util-1) > cp=${cp}:$(java-pkg_getjars tos-message-1) > > #Makefile broken, compiling by hand > einfo "Compiling TinyOS packet" > cd ${S} > find net/tinyos/packet -name "*.java" | xargs $(java-config -c) -source 1.4 -classpath ${cp} -nowarn || die "Failed to compile" > einfo "Packaging TinyOS packet" > find net/tinyos/packet -name "*.class" | xargs jar cf ${PN}.jar >} > >src_install() { > cd ${S} > java-pkg_dojar ${PN}.jar > use source && java-pkg_dosrc /net/tinyos/packet >}
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 102908
: 66180 |
77245