Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/http-parser: ChangeLog http-parser-2.3.ebuild
Date: Sat, 21 Jun 2014 10:05:53
Message-Id: 20140621100550.0E0722004E@flycatcher.gentoo.org
1 hasufell 14/06/21 10:05:49
2
3 Modified: ChangeLog http-parser-2.3.ebuild
4 Log:
5 add static-libs USE flag
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
8
9 Revision Changes Path
10 1.5 net-libs/http-parser/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/http-parser/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 21 Jun 2014 09:54:24 -0000 1.4
23 +++ ChangeLog 21 Jun 2014 10:05:49 -0000 1.5
24 @@ -1,6 +1,9 @@
25 # ChangeLog for net-libs/http-parser
26 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/ChangeLog,v 1.4 2014/06/21 09:54:24 hasufell Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/ChangeLog,v 1.5 2014/06/21 10:05:49 hasufell Exp $
29 +
30 + 21 Jun 2014; Julian Ospald <hasufell@g.o> http-parser-2.3.ebuild:
31 + add static-libs USE flag
32
33 *http-parser-2.3 (21 Jun 2014)
34
35
36
37
38 1.2 net-libs/http-parser/http-parser-2.3.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild?r1=1.1&r2=1.2
43
44 Index: http-parser-2.3.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- http-parser-2.3.ebuild 21 Jun 2014 09:54:24 -0000 1.1
51 +++ http-parser-2.3.ebuild 21 Jun 2014 10:05:49 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild,v 1.1 2014/06/21 09:54:24 hasufell Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/net-libs/http-parser/http-parser-2.3.ebuild,v 1.2 2014/06/21 10:05:49 hasufell Exp $
57
58 EAPI=5
59
60 @@ -16,22 +16,24 @@
61 LICENSE="MIT"
62 SLOT="0/${SONAMEVER}"
63 KEYWORDS="~amd64 ~x86"
64 -IUSE=""
65 +IUSE="static-libs"
66
67 src_prepare() {
68 - tc-export CC
69 + tc-export CC AR
70 epatch "${FILESDIR}"/${P}-flags.patch
71 multilib_copy_sources
72 }
73
74 multilib_src_compile() {
75 emake library
76 + use static-libs && emake package
77 }
78
79 multilib_src_install() {
80 doheader http_parser.h
81 dolib.so ${SONAME}
82 dosym ${SONAME} /usr/$(get_libdir)/libhttp_parser.so
83 + use static-libs && dolib.a libhttp_parser.a
84 }
85
86 multilib_src_install_all() {