From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/libtirpc: libtirpc-0.2.4-r2.ebuild ChangeLog |
Date: | Fri, 30 May 2014 14:22:24 |
Message-Id: | 20140530142220.390B72004E@flycatcher.gentoo.org |
1 | mgorny 14/05/30 14:22:20 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libtirpc-0.2.4-r2.ebuild |
5 | Log: |
6 | Enable multilib support. |
7 | |
8 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 | |
10 | Revision Changes Path |
11 | 1.34 net-libs/libtirpc/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/ChangeLog?rev=1.34&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/ChangeLog?rev=1.34&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/ChangeLog?r1=1.33&r2=1.34 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v |
20 | retrieving revision 1.33 |
21 | retrieving revision 1.34 |
22 | diff -u -r1.33 -r1.34 |
23 | --- ChangeLog 2 Feb 2014 07:59:58 -0000 1.33 |
24 | +++ ChangeLog 30 May 2014 14:22:20 -0000 1.34 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-libs/libtirpc |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.33 2014/02/02 07:59:58 vapier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-libs/libtirpc/ChangeLog,v 1.34 2014/05/30 14:22:20 mgorny Exp $ |
30 | + |
31 | +*libtirpc-0.2.4-r2 (30 May 2014) |
32 | + |
33 | + 30 May 2014; Michał Górny <mgorny@g.o> +libtirpc-0.2.4-r2.ebuild: |
34 | + Enable multilib support. |
35 | |
36 | *libtirpc-0.2.4-r1 (02 Feb 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-libs/libtirpc/libtirpc-0.2.4-r2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.4-r2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libtirpc/libtirpc-0.2.4-r2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libtirpc-0.2.4-r2.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/net-libs/libtirpc/libtirpc-0.2.4-r2.ebuild,v 1.1 2014/05/30 14:22:20 mgorny Exp $ |
51 | |
52 | EAPI="4" |
53 | |
54 | inherit multilib-minimal toolchain-funcs |
55 | |
56 | DESCRIPTION="Transport Independent RPC library (SunRPC replacement)" |
57 | HOMEPAGE="http://libtirpc.sourceforge.net/" |
58 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
59 | mirror://gentoo/${PN}-glibc-nfs.tar.xz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
64 | IUSE="ipv6 kerberos static-libs" |
65 | |
66 | RDEPEND="kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )" |
67 | DEPEND="${RDEPEND} |
68 | app-arch/xz-utils |
69 | virtual/pkgconfig[${MULTILIB_USEDEP}]" |
70 | RDEPEND="${RDEPEND} |
71 | abi_x86_32? ( |
72 | !<=app-emulation/emul-linux-x86-baselibs-20140508-r7 |
73 | !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
74 | )" |
75 | |
76 | src_unpack() { |
77 | unpack ${A} |
78 | cp -r tirpc "${S}"/ || die |
79 | } |
80 | |
81 | multilib_src_configure() { |
82 | ECONF_SOURCE=${S} \ |
83 | econf \ |
84 | $(use_enable ipv6) \ |
85 | $(use_enable kerberos gssapi) \ |
86 | $(use_enable static-libs static) |
87 | } |
88 | |
89 | multilib_src_install() { |
90 | default |
91 | |
92 | # libtirpc replaces rpc support in glibc, so we need it in / |
93 | multilib_is_native_abi && gen_usr_ldscript -a tirpc |
94 | } |
95 | |
96 | multilib_src_install_all() { |
97 | einstalldocs |
98 | |
99 | insinto /etc |
100 | doins doc/netconfig |
101 | |
102 | insinto /usr/include/tirpc |
103 | doins -r "${WORKDIR}"/tirpc/* |
104 | |
105 | # makes sure that the linking order for nfs-utils is proper, as |
106 | # libtool would inject a libgssglue dependency in the list. |
107 | use static-libs || prune_libtool_files |
108 | } |