From: | "Greg Kroah-Hartman (gregkh)" <gregkh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/sparse: sparse-0.5.0.ebuild ChangeLog |
Date: | Thu, 27 Feb 2014 20:31:34 |
Message-Id: | 20140227203126.E7CE22004C@flycatcher.gentoo.org |
1 | gregkh 14/02/27 20:31:26 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sparse-0.5.0.ebuild |
5 | Log: |
6 | 0.5.0 version bump |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.56 sys-devel/sparse/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?rev=1.56&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?rev=1.56&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?r1=1.55&r2=1.56 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v |
20 | retrieving revision 1.55 |
21 | retrieving revision 1.56 |
22 | diff -u -r1.55 -r1.56 |
23 | --- ChangeLog 5 Sep 2013 09:17:49 -0000 1.55 |
24 | +++ ChangeLog 27 Feb 2014 20:31:26 -0000 1.56 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-devel/sparse |
27 | -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.55 2013/09/05 09:17:49 vapier Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.56 2014/02/27 20:31:26 gregkh Exp $ |
31 | + |
32 | +*sparse-0.5.0 (27 Feb 2014) |
33 | + |
34 | + 27 Feb 2014; Greg Kroah-Hartman <gregkh@g.o> +sparse-0.5.0.ebuild: |
35 | + 0.5.0 version bump |
36 | |
37 | 05 Sep 2013; Mike Frysinger <vapier@g.o> metadata.xml, |
38 | sparse-9999.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 sys-devel/sparse/sparse-0.5.0.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-0.5.0.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-0.5.0.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: sparse-0.5.0.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2014 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.5.0.ebuild,v 1.1 2014/02/27 20:31:26 gregkh Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit eutils multilib toolchain-funcs |
56 | if [[ ${PV} == "9999" ]] ; then |
57 | EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/sparse/sparse.git" |
58 | inherit git-2 |
59 | fi |
60 | |
61 | DESCRIPTION="C semantic parser" |
62 | HOMEPAGE="http://sparse.wiki.kernel.org/index.php/Main_Page" |
63 | |
64 | if [[ ${PV} == "9999" ]] ; then |
65 | SRC_URI="" |
66 | #KEYWORDS="" |
67 | else |
68 | SRC_URI="mirror://kernel/software/devel/sparse/dist/${P}.tar.xz" |
69 | KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
70 | fi |
71 | |
72 | LICENSE="OSL-1.1" |
73 | SLOT="0" |
74 | IUSE="gtk test xml" |
75 | |
76 | RDEPEND="gtk? ( x11-libs/gtk+:2 ) |
77 | xml? ( dev-libs/libxml2 )" |
78 | DEPEND="${RDEPEND} |
79 | gtk? ( virtual/pkgconfig ) |
80 | xml? ( virtual/pkgconfig )" |
81 | |
82 | src_prepare() { |
83 | tc-export AR CC PKG_CONFIG |
84 | sed -i \ |
85 | -e '/^PREFIX=/s:=.*:=/usr:' \ |
86 | -e "/^LIBDIR=/s:/lib:/$(get_libdir):" \ |
87 | -e '/^CFLAGS =/{s:=:+= $(CPPFLAGS):;s:-O2 -finline-functions::}' \ |
88 | -e "s:pkg-config:${PKG_CONFIG}:" \ |
89 | Makefile || die |
90 | export MAKEOPTS+=" V=1 AR=${AR} CC=${CC} HAVE_GTK2=$(usex gtk) HAVE_LIBXML=$(usex xml)" |
91 | } |
92 | |
93 | src_compile() { |
94 | emake $(usex test all all-installable) |
95 | } |