diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-11-17 07:47:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-11-17 07:47:26 +0000 |
commit | 73091a5b7fbc0c36af227f6807027b5fd7293932 (patch) | |
tree | daa58a9aade84c054e59e4567f09c72c9850cfde /sys-apps/dtc | |
parent | Bump (diff) | |
download | gentoo-2-73091a5b7fbc0c36af227f6807027b5fd7293932.tar.gz gentoo-2-73091a5b7fbc0c36af227f6807027b5fd7293932.tar.bz2 gentoo-2-73091a5b7fbc0c36af227f6807027b5fd7293932.zip |
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-apps/dtc')
-rw-r--r-- | sys-apps/dtc/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-1.4.1.ebuild | 49 | ||||
-rw-r--r-- | sys-apps/dtc/dtc-9999.ebuild | 22 |
3 files changed, 66 insertions, 13 deletions
diff --git a/sys-apps/dtc/ChangeLog b/sys-apps/dtc/ChangeLog index cd30b85b1d89..0efb2f2a6884 100644 --- a/sys-apps/dtc/ChangeLog +++ b/sys-apps/dtc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/dtc # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.18 2014/06/04 16:04:58 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/ChangeLog,v 1.19 2014/11/17 07:47:26 vapier Exp $ + +*dtc-1.4.1 (17 Nov 2014) + + 17 Nov 2014; Mike Frysinger <vapier@gentoo.org> +dtc-1.4.1.ebuild, + dtc-9999.ebuild: + Version bump. 04 Jun 2014; Agostino Sarubbo <ago@gentoo.org> dtc-1.4.0.ebuild: Stable for x86, wrt bug #507796 diff --git a/sys-apps/dtc/dtc-1.4.1.ebuild b/sys-apps/dtc/dtc-1.4.1.ebuild new file mode 100644 index 000000000000..c554b0270ad0 --- /dev/null +++ b/sys-apps/dtc/dtc-1.4.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-1.4.1.ebuild,v 1.1 2014/11/17 07:47:26 vapier Exp $ + +EAPI="4" + +inherit multilib toolchain-funcs +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + inherit git-2 +else + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +fi + +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="http://devicetree.org/Device_Tree_Compiler" + +LICENSE="GPL-2" +SLOT="0" +IUSE="static-libs" + +RDEPEND="" +DEPEND="app-arch/xz-utils + sys-devel/flex + sys-devel/bison" + +src_prepare() { + sed -i \ + -e '/^CFLAGS =/s:=:+=:' \ + -e '/^CPPFLAGS =/s:=:+=:' \ + -e 's:-Werror::' \ + -e 's:-g -Os::' \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(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 "${ED}" -name '*.a' -delete + dodoc Documentation/manual.txt +} diff --git a/sys-apps/dtc/dtc-9999.ebuild b/sys-apps/dtc/dtc-9999.ebuild index dc8e2c8d28e3..12346ffe9113 100644 --- a/sys-apps/dtc/dtc-9999.ebuild +++ b/sys-apps/dtc/dtc-9999.ebuild @@ -1,40 +1,38 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2014 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.3 2012/11/10 01:52:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dtc/dtc-9999.ebuild,v 1.4 2014/11/17 07:47:26 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" + EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/dtc/dtc.git" inherit git-2 else - SRC_URI="http://www.jdl.com/software/${MY_P}.tgz" + SRC_URI="mirror://kernel/software/utils/${PN}/${P}.tar.xz" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" fi -DESCRIPTION="Open Firmware device-trees compiler" -HOMEPAGE="http://git.jdl.com/gitweb/?p=dtc.git" +DESCRIPTION="Open Firmware device tree compiler" +HOMEPAGE="http://devicetree.org/Device_Tree_Compiler" LICENSE="GPL-2" SLOT="0" IUSE="static-libs" RDEPEND="" -DEPEND="sys-devel/flex +DEPEND="app-arch/xz-utils + 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):" \ + -e "/^PREFIX =/s:=.*:= ${EPREFIX}/usr:" \ + -e "/^LIBDIR =/s:=.*:= \$(PREFIX)/$(get_libdir):" \ Makefile || die tc-export AR CC export V=1 |