Add a live git ebuild.
authorMike Frysinger <vapier@gentoo.org>
Mon, 17 Oct 2011 21:39:35 +0000 (21:39 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 17 Oct 2011 21:39:35 +0000 (21:39 +0000)
Package-Manager: portage-2.2.0_alpha65/cvs/Linux x86_64

sys-apps/dtc/ChangeLog
sys-apps/dtc/Manifest
sys-apps/dtc/dtc-9999.ebuild [new file with mode: 0644]

index 4af8abde95826b9c8bf4a0c1d0874553f4a123c4..67b53ab18c7202b8306ce1c48b3b7e22737f58ef 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/dtc
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.9 2011/06/15 21:19:11 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.10 2011/10/17 21:39:35 vapier Exp $
+
+*dtc-9999 (17 Oct 2011)
+
+  17 Oct 2011; Mike Frysinger <vapier@gentoo.org> +dtc-9999.ebuild:
+  Add a live git ebuild.
 
 *dtc-1.3.0 (15 Jun 2011)
 
index dea4361b9f2f45b88f40133d183e42f6e36b2227..e6a27c46905eb76fdd350da3c4929e16426f1c35 100644 (file)
@@ -1,5 +1,5 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
 
 AUX dtc-1.0.0-Makefile.patch 345 RMD160 06932030fa7996953abf5af45dcdc399645782a3 SHA1 72512b277023bf0a1a906b0ecf1d03317c716f27 SHA256 b1177da6ed931d77282006b59300dea972121fdb21fe4f7df1e21ec05eb31577
 DIST dtc-1.0.0.tgz 65849 RMD160 90c0925cdc9978e7e5bb4cb6697734ba2d70970b SHA1 77462706574edd54ea1618fd4765e1127b33c307 SHA256 8228023bb787460e33f6e63ab8cc032599b0ca2f54db4db97dd3e9006f983c59
@@ -8,12 +8,13 @@ DIST dtc-v1.3.0.tgz 108540 RMD160 5cea6a923ab53f7c1e83a62d5eb113178f9bd6b7 SHA1
 EBUILD dtc-1.0.0.ebuild 850 RMD160 652f6f5912fdfbdef4f476c00b1bc49dcd67d96c SHA1 ab3c7c20b905a1b6aa6782636158c2741200e110 SHA256 d2f5ba8a7b53fd8c23506315dd0f8c6c669576bed9beff1bf299168aa06921b2
 EBUILD dtc-1.2.0.ebuild 853 RMD160 227921aa1429cfd9c799911fd7cea9ef3dfe9aef SHA1 d7ebd558ddf69359781fab32d785f17c3925f96f SHA256 b886bf03c5e68155a5f88db4b479a28d691ae1fb111371c80d32d6d9387a9a09
 EBUILD dtc-1.3.0.ebuild 968 RMD160 86a6f2f78f4616947b4a3e73403d607fb8aa78e5 SHA1 d11084c6f049e1c8a8edef0bf3de62ae90957d7c SHA256 1cdb79a2c0fa82bdb7e144e12596e24e53418e5bb961011e6cf82197330370e6
-MISC ChangeLog 1403 RMD160 e0a67b9c539a3d68e4f011c468b873baefad31b0 SHA1 8b5273bf0af2e6fa216776223ec43490714ffaab SHA256 29c9ffe0b31c611f7cce7d059e822ae139df661aa5bed24ea5f695ebcda0e6c3
+EBUILD dtc-9999.ebuild 1106 RMD160 7113134b419fa1ca3db4054ccceb0067328cf93f SHA1 f5c1e35fbb81d098f1a21f35b67c3f378bb6625c SHA256 a562c7b20a6337bd7d6c7ac7801e410480677e69c3c61fb1309b212eb87c5ae4
+MISC ChangeLog 1520 RMD160 872188ddf9b672c26ef37d65888c94a2b18c9874 SHA1 b13b27eb94316e7cf3f2564a9de2a285b1a9e0b2 SHA256 8b09e75ab14d95149a7969d480c99c38ff3b9f8faa4436991c599dda20602c22
 MISC metadata.xml 220 RMD160 8ebd847eafc75facd4d1a7681aa2010609e842d8 SHA1 266ab78ba4815dbf6bf6f4172c8a69f59bc39cab SHA256 847364a734851351edf36827cbb7333a71af6f3451f1ef472ad817b4a310115e
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
 
-iEYEARECAAYFAk35Ia8ACgkQAiZjviIA2XihjQCg3WB4O1UouHXcNIpowA5jMNPq
-RsEAoN3/YlRPhOoXollvRcI3x0qOOWXV
-=+bLD
+iF4EAREIAAYFAk6coJ4ACgkQaC/OocHi7JbaiwEAmO9WIF4nVClEcN1jweHISAiz
+Qc5ObX0+D47dJ6YBhHAA/0ns48RmNpAYiFgxqNnt8anM4GZv9i/p8uDtUvpwJbTH
+=wUa5
 -----END PGP SIGNATURE-----
diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild
new file mode 100644 (file)
index 0000000..e6e7c23
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-9999.ebuild,v 1.1 2011/10/17 21:39:35 vapier Exp $
+
+EAPI="4"
+MY_P="${PN}-v${PV}"
+
+inherit multilib toolchain-funcs
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="git://git.jdl.com/software/dtc.git"
+       inherit git-2
+else
+       SRC_URI="http://www.jdl.com/software/${MY_P}.tgz"
+       KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+fi
+
+DESCRIPTION="Open Firmware device-trees compiler"
+HOMEPAGE="http://git.jdl.com/gitweb/?p=dtc.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="sys-devel/flex
+       sys-devel/bison"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+       sed -i \
+               -e '/^CFLAGS =/s:=:+=:' \
+               -e '/^CPPFLAGS =/s:=:+=:' \
+               -e 's:-Werror::' \
+               -e 's:-g -Os::' \
+               -e '/^PREFIX =/s:=.*:= /usr:' \
+               -e "/^LIBDIR =/s:=.*:= /usr/$(get_libdir):" \
+               Makefile || die
+       tc-export AR CC
+       export V=1
+}
+
+src_test() {
+       emake check
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       use static-libs || find "${D}" -name '*.a' -delete
+       dodoc Documentation/manual.txt
+}