Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/acl: acl-2.2.52-r1.ebuild ChangeLog
Date: Fri, 02 May 2014 10:18:02
Message-Id: 20140502101759.226C22004C@flycatcher.gentoo.org
1 mgorny 14/05/02 10:17:58
2
3 Modified: ChangeLog
4 Added: acl-2.2.52-r1.ebuild
5 Log:
6 Introduce multilib support, bug #496964.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.124 sys-apps/acl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.124&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?rev=1.124&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/ChangeLog?r1=1.123&r2=1.124
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v
20 retrieving revision 1.123
21 retrieving revision 1.124
22 diff -u -r1.123 -r1.124
23 --- ChangeLog 17 Jan 2014 04:23:11 -0000 1.123
24 +++ ChangeLog 2 May 2014 10:17:58 -0000 1.124
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/acl
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.123 2014/01/17 04:23:11 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/acl/ChangeLog,v 1.124 2014/05/02 10:17:58 mgorny Exp $
30 +
31 +*acl-2.2.52-r1 (02 May 2014)
32 +
33 + 02 May 2014; Michał Górny <mgorny@g.o> +acl-2.2.52-r1.ebuild:
34 + Introduce multilib support, bug #496964.
35
36 17 Jan 2014; Mike Frysinger <vapier@g.o> acl-2.2.51.ebuild,
37 acl-2.2.52.ebuild:
38
39
40
41 1.1 sys-apps/acl/acl-2.2.52-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.52-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/acl/acl-2.2.52-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: acl-2.2.52-r1.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/sys-apps/acl/acl-2.2.52-r1.ebuild,v 1.1 2014/05/02 10:17:58 mgorny Exp $
51
52 EAPI="4"
53
54 inherit eutils toolchain-funcs multilib-minimal
55
56 DESCRIPTION="access control list utilities, libraries and headers"
57 HOMEPAGE="http://savannah.nongnu.org/projects/acl"
58 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.src.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux"
63 IUSE="nls static-libs"
64
65 RDEPEND=">=sys-apps/attr-2.4[${MULTILIB_USEDEP}]"
66 DEPEND="${RDEPEND}
67 nls? ( sys-devel/gettext )
68 abi_x86_32? (
69 !<=app-emulation/emul-linux-x86-baselibs-20140406-r2
70 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
71 )"
72
73 src_prepare() {
74 sed -i \
75 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
76 -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
77 include/builddefs.in \
78 || die
79 strip-linguas po
80
81 # same as https://savannah.nongnu.org/bugs/index.php?39736
82 multilib_copy_sources
83 }
84
85 multilib_src_configure() {
86 unset PLATFORM #184564
87 export OPTIMIZER=${CFLAGS}
88 export DEBUG=-DNDEBUG
89
90 econf \
91 $(use_enable nls gettext) \
92 --enable-shared $(use_enable static-libs static) \
93 --libexecdir="${EPREFIX}"/usr/$(get_libdir) \
94 --bindir="${EPREFIX}"/bin
95 }
96
97 multilib_src_install() {
98 emake DIST_ROOT="${D}" install install-dev install-lib
99
100 # move shared libs to /
101 multilib_is_native_abi && gen_usr_ldscript -a acl
102 }
103
104 multilib_src_install_all() {
105 use static-libs || prune_libtool_files --all
106 }