Gentoo Archives: gentoo-commits

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/ustr: ustr-1.0.4-r4.ebuild ChangeLog
Date: Fri, 30 May 2014 13:59:16
Message-Id: 20140530135912.9FA9720036@flycatcher.gentoo.org
1 swift 14/05/30 13:59:12
2
3 Modified: ChangeLog
4 Added: ustr-1.0.4-r4.ebuild
5 Log:
6 Add multilib support, needed for libsemanage (bug #506460) thanks to Sven Eden
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
9
10 Revision Changes Path
11 1.14 dev-libs/ustr/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 14 Jan 2014 13:58:01 -0000 1.13
24 +++ ChangeLog 30 May 2014 13:59:12 -0000 1.14
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/ustr
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v 1.13 2014/01/14 13:58:01 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ChangeLog,v 1.14 2014/05/30 13:59:12 swift Exp $
30 +
31 +*ustr-1.0.4-r4 (30 May 2014)
32 +
33 + 30 May 2014; Sven Vermeulen <swift@g.o> +ustr-1.0.4-r4.ebuild:
34 + Add multilib support, needed for libsemanage (bug #506460) thanks to Sven Eden
35
36 14 Jan 2014; Agostino Sarubbo <ago@g.o> ustr-1.0.4-r3.ebuild:
37 Stable for x86, wrt bug #495414
38
39
40
41 1.1 dev-libs/ustr/ustr-1.0.4-r4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ustr-1.0.4-r4.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ustr/ustr-1.0.4-r4.ebuild,v 1.1 2014/05/30 13:59:12 swift Exp $
51
52 EAPI=5
53
54 inherit multilib-build toolchain-funcs
55
56 DESCRIPTION="Low-overhead managed string library for C"
57 HOMEPAGE="http://www.and.org/ustr"
58 SRC_URI="ftp://ftp.and.org/pub/james/ustr/${PV}/${P}.tar.bz2"
59
60 LICENSE="|| ( BSD-2 MIT LGPL-2 )"
61 SLOT="0"
62 KEYWORDS="~amd64 ~arm ~mips ~x86"
63 IUSE=""
64
65 DEPEND=""
66 RDEPEND=""
67
68 src_prepare() {
69 multilib_copy_sources
70 }
71
72 ustr_make() {
73 cd "${BUILD_DIR}" || die
74 [ -e ustr-conf.h ] && rm ustr-conf.h
75 emake "$@" \
76 AR="$(tc-getAR)" \
77 CC="$(tc-getCC)" \
78 CFLAGS="${CFLAGS}" \
79 LDFLAGS="${LDFLAGS}" \
80 prefix="${EPREFIX}/usr" \
81 SHRDIR="/usr/share/${P}" \
82 HIDE= || die
83 }
84
85 ustr_install() {
86 cd "${BUILD_DIR}" || die
87
88 emake "$@" \
89 DESTDIR="${D}" \
90 prefix="${EPREFIX}/usr" \
91 libdir="${EPREFIX}/usr/$(get_libdir)" \
92 mandir="/usr/share/man" \
93 SHRDIR="/usr/share/${P}" \
94 DOCSHRDIR="/usr/share/doc/${PF}" \
95 HIDE= || die
96 }
97
98 src_compile() {
99 multilib_foreach_abi ustr_make all-shared
100 }
101
102 multilib_src_test() {
103 multilib_foreach_abi ustr_make check
104 }
105
106 src_install() {
107 multilib_foreach_abi ustr_install install-multilib-linux
108 dodoc ChangeLog README README-DEVELOPERS AUTHORS NEWS TODO
109 }