version bump
authorSandro Bonazzola <sanchan@gentoo.org>
Tue, 26 Dec 2006 12:01:32 +0000 (12:01 +0000)
committerSandro Bonazzola <sanchan@gentoo.org>
Tue, 26 Dec 2006 12:01:32 +0000 (12:01 +0000)
Package-Manager: portage-2.1.2_rc4-r1

dev-tinyos/nesc/ChangeLog
dev-tinyos/nesc/Manifest
dev-tinyos/nesc/files/digest-nesc-1.2.8a [new file with mode: 0644]
dev-tinyos/nesc/nesc-1.2.8a.ebuild [new file with mode: 0644]

index cb3dd575654042515137c85e1a0196e990416daa..1f334c19b7c7bf5c7fea572e9f9feb33166a2d30 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-tinyos/nesc
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.13 2006/12/04 21:41:00 sanchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.14 2006/12/26 12:01:32 sanchan Exp $
+
+*nesc-1.2.8a (26 Dec 2006)
+
+  26 Dec 2006; Sandro Bonazzola <sanchan@gentoo.org> +nesc-1.2.8a.ebuild:
+  Version bump.
 
 *nesc-1.2.8 (04 Dec 2006)
 
index cca132aa9da189a420633c0613a25d18a0937c83..e7cb31f265b433eb66c449939962e160bd6d88b8 100644 (file)
@@ -7,6 +7,7 @@ RMD160 e1ea06aa6b5e4dc208d132854ee98a3b375a9773 files/nesc-1.2.7a-alignment.patc
 SHA256 04e86b9eae9ea24e4e0dd33686f0422bf3dac7f8a89de3da90d512426a4c35c1 files/nesc-1.2.7a-alignment.patch 848
 DIST nesc-1.2.7a.tar.gz 1156734 RMD160 c322df1521f3cd8961c2de81d13e59ffdd1bede0 SHA1 d254958ff222f359741bd58a1a3cfba45e3b8822 SHA256 f2f63cac8d72b0a9ffbdd65472018ce9194d9ef89f8ef7d0e33180a4818455e1
 DIST nesc-1.2.8.tar.gz 1164224 RMD160 cdd01ec767be7df5ca2498995b9046c53d79d3af SHA1 9bfad5123486c976f38c71ffa03db43dd5fa7d82 SHA256 b00acea4728943ae4cce83df0e1e819e88ad0a577e617757c8362ac46df6b03d
+DIST nesc-1.2.8a.tar.gz 1164285 RMD160 2f7f615c64bd15701f14fe85e3c559ea2e6d2f55 SHA1 c610469c7ea1f0a394e33f2d4a7c5d05bbf695a4 SHA256 6ce67c0ee64dad5429f083c281ba933e39b4f2e80f800247d7ba07af65d41dec
 EBUILD nesc-1.2.7a.ebuild 1937 RMD160 cc655073e9b141a2c4cb84df88a3b066c606ede0 SHA1 f757746b4c70b3302cee3719c8a3476649a9ee54 SHA256 5912600f6cc705df0ef46ddd105bce17fcc98c783215e0907001af0bc5f2828d
 MD5 0be850001d75eb677203e5a133aa134f nesc-1.2.7a.ebuild 1937
 RMD160 cc655073e9b141a2c4cb84df88a3b066c606ede0 nesc-1.2.7a.ebuild 1937
@@ -15,10 +16,14 @@ EBUILD nesc-1.2.8.ebuild 2495 RMD160 494fa9ab00c63016bc39ab2dc27e5c4f9b76e137 SH
 MD5 c5effef0e81c9cb0abc2a51d89a62606 nesc-1.2.8.ebuild 2495
 RMD160 494fa9ab00c63016bc39ab2dc27e5c4f9b76e137 nesc-1.2.8.ebuild 2495
 SHA256 898f10bc8e2d95920960f60fe99f06ed959921762744abb5afa11c9f9cc8e88a nesc-1.2.8.ebuild 2495
-MISC ChangeLog 3042 RMD160 0e0e0159df7d1f64bdf5647e7c423ffad2249c53 SHA1 d311381f22f684099a82df8cb38614dd6389d3d2 SHA256 04e8c8026c54ebe689d59e6e23ead29e0620e76ba7a8ee30ae8e58d99f3fa8c9
-MD5 4d0def599627484a884db22bd8616ba5 ChangeLog 3042
-RMD160 0e0e0159df7d1f64bdf5647e7c423ffad2249c53 ChangeLog 3042
-SHA256 04e8c8026c54ebe689d59e6e23ead29e0620e76ba7a8ee30ae8e58d99f3fa8c9 ChangeLog 3042
+EBUILD nesc-1.2.8a.ebuild 2496 RMD160 062c23140b1f1dabb0f9fae26985928a6e91ee7c SHA1 fb6b71b5869aa9d4cfbc7a322d559d1ef48850d8 SHA256 c6d3d7881ff23d25cea06941ab63e52cae47f5bbc19f9cd70c9f12513a6a26e7
+MD5 1907b621c11e234009d73816b5bc28f6 nesc-1.2.8a.ebuild 2496
+RMD160 062c23140b1f1dabb0f9fae26985928a6e91ee7c nesc-1.2.8a.ebuild 2496
+SHA256 c6d3d7881ff23d25cea06941ab63e52cae47f5bbc19f9cd70c9f12513a6a26e7 nesc-1.2.8a.ebuild 2496
+MISC ChangeLog 3161 RMD160 1dce0805a47655ee807232ea57707440afa81b3c SHA1 4869b3eda28b6d760de72f0c1e5547d05453c1af SHA256 92944883b25c15101342b35934603ebcf37b163b67051e358eda62f71c484ba5
+MD5 f765ae7242a2b29a97a6b28faa0da9fc ChangeLog 3161
+RMD160 1dce0805a47655ee807232ea57707440afa81b3c ChangeLog 3161
+SHA256 92944883b25c15101342b35934603ebcf37b163b67051e358eda62f71c484ba5 ChangeLog 3161
 MISC metadata.xml 498 RMD160 c1c33fc6231b7c0412007819b16b4f8ba5414e3d SHA1 b2725eb28a143b25648edca7b3bacb1880b34d28 SHA256 5be46a3ff148d08d2359999777175bb7e01ffc1d9e3684e796c2fee66d58dad7
 MD5 270435754d4f1bea3d74c4b5cf8b2abe metadata.xml 498
 RMD160 c1c33fc6231b7c0412007819b16b4f8ba5414e3d metadata.xml 498
@@ -29,10 +34,13 @@ SHA256 36fb9b6793c161f27fed92f90ebe88c84b578f79723ace814e09ea167e8239ce files/di
 MD5 cf24981a46d82e463f97af8ce1fb9ed7 files/digest-nesc-1.2.8 235
 RMD160 751ae5e8b8c5069a76f23cf8f6819497740906e5 files/digest-nesc-1.2.8 235
 SHA256 b08cf11bef73d8d926074fa9adeb96afc035d8d27b598497495483a332d4037a files/digest-nesc-1.2.8 235
+MD5 02c00c12f3c8eafcda7ddc64b30eb543 files/digest-nesc-1.2.8a 238
+RMD160 6725aa70f7d160cf12ad69809dc538d3676c94d0 files/digest-nesc-1.2.8a 238
+SHA256 39fdf3c12b031a9fc36c18417eba6089a5ea55c62a06062c97e93022d15a4a11 files/digest-nesc-1.2.8a 238
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFdJTYwmS/YhfgUiURAroiAJsEW4t6UxA2gWBL4dwi/V6F4gVl+wCdHBGf
-XKKhdflJgEMKRNEKHklvJdY=
-=UGcM
+iD8DBQFFkQ34wmS/YhfgUiURAp2CAJ92gqdezJNZYxWBlD40uMg74j5LEACfdq4Y
+Tt+Zo3uBcEyCEqRIsMLAJRo=
+=poSP
 -----END PGP SIGNATURE-----
diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.8a b/dev-tinyos/nesc/files/digest-nesc-1.2.8a
new file mode 100644 (file)
index 0000000..8e97cc1
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 cc813b3dfc5a6017fee4c666bacf6a70 nesc-1.2.8a.tar.gz 1164285
+RMD160 2f7f615c64bd15701f14fe85e3c559ea2e6d2f55 nesc-1.2.8a.tar.gz 1164285
+SHA256 6ce67c0ee64dad5429f083c281ba933e39b4f2e80f800247d7ba07af65d41dec nesc-1.2.8a.tar.gz 1164285
diff --git a/dev-tinyos/nesc/nesc-1.2.8a.ebuild b/dev-tinyos/nesc/nesc-1.2.8a.ebuild
new file mode 100644 (file)
index 0000000..64b79ea
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/nesc-1.2.8a.ebuild,v 1.1 2006/12/26 12:01:32 sanchan Exp $
+
+inherit eutils java-pkg-2
+
+DESCRIPTION="An extension to gcc that knows how to compile nesC applications"
+HOMEPAGE="http://nescc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nescc/${P}.tar.gz"
+LICENSE="GPL-2 Intel"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+DEPEND=">=dev-lang/perl-5.8.5-r2
+       >=dev-tinyos/tos-1.1.0
+       >=virtual/jdk-1.4.2"
+
+RDEPEND=">=dev-lang/perl-5.8.5-r2
+       >=dev-tinyos/tos-1.1.0
+       >=virtual/jre-1.4.2
+       dev-perl/XML-Simple
+       media-gfx/graphviz"
+
+pkg_setup() {
+       if [ -z "${TOSDIR}" ]
+       then
+               # best to make an assumption
+               export TOSDIR=/usr/src/tinyos-1.x/tos
+       fi
+
+       if [ ! -d "${TOSDIR}" ]
+       then
+               eerror "In order to compile nesc you have to set the"
+               eerror "\$TOSDIR environment properly."
+               eerror ""
+               eerror "You can achieve this by emerging >=dev-tinyos/tos-1.1.15"
+               eerror "or by exporting TOSDIR=\"path to your tinyos dir\""
+               die "Couldn't find a valid TinyOS home"
+       else
+               einfo "Building nesC for ${TOSDIR}"
+       fi
+
+       java-pkg-2_pkg_setup
+}
+
+src_compile() {
+       econf --disable-dependency-tracking || die "econf failed"
+       # language setting needed, otherwise gcc version
+       # will sometimes not be detected right
+       LANGUAGE=C emake || die "emake failed"
+}
+
+src_install() {
+       LANGUAGE=C einstall || die "einstall failed"
+
+       if use doc
+       then
+               dohtml -r -a html,jpg,pdf,txt doc/*
+       fi
+
+       newdoc README NEWS
+       newdoc tools/java/net/tinyos/nesc/dump/README README.dump
+       newdoc tools/java/net/tinyos/nesc/wiring/README README.wiring
+}
+
+pkg_postinst() {
+       elog "To install a nesC editor mode (currently, emacs, vim, kde):"
+       elog "Read /usr/share/ncc/editor-modes/<your-editor-name>/readme.txt"
+       elog ""
+       elog "To use nesC with the Atmel AVR processors or the TI MSP processors you"
+       elog "need the avr-gcc and msp430-gcc packages, and the corresponding GNU"
+       elog "binutils (avr-binutils and msp430-binutils respectively)."
+       elog "# emerge crossdev"
+       elog "# crossdev -t avr"
+       elog "# crossdev -t msp430"
+       elog ""
+       elog "You can use gcc <= 3.4.6 and binutils <= 2.16.1-r3 if you need $ in"
+       elog "symbol names on avr or you can pass the -fnesc-separator=__ option to"
+       elog "nescc (ncc if using TinyOS) to use __ rather than $ in generated code."
+       elog "Example: PFLAGS=\"-fnesc-separator=__\" make mica2"
+       elog "See the nescc man page for details."
+       ebeep 5
+       epause 5
+}