Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/xar/
Date: Tue, 15 Dec 2015 20:32:15
Message-Id: 1450211931.cf02c188fb8df90f7d14bf1f2fe42adbe710ca95.blueness@gentoo
1 commit: cf02c188fb8df90f7d14bf1f2fe42adbe710ca95
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 15 20:38:34 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 15 20:38:51 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf02c188
7
8 app-arch/xar: base eclass cleanup and add libressl support
9
10 Package-Manager: portage-2.2.24
11
12 app-arch/xar/xar-1.5.2-r2.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/app-arch/xar/xar-1.5.2-r2.ebuild b/app-arch/xar/xar-1.5.2-r2.ebuild
16 new file mode 100644
17 index 0000000..b753675
18 --- /dev/null
19 +++ b/app-arch/xar/xar-1.5.2-r2.ebuild
20 @@ -0,0 +1,38 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +
27 +inherit autotools eutils
28 +
29 +DESCRIPTION="An easily extensible archive format"
30 +HOMEPAGE="https://code.google.com/p/xar"
31 +SRC_URI="https://xar.googlecode.com/files/${P}.tar.gz"
32 +
33 +LICENSE="BSD-2"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
36 +IUSE="acl +bzip2 libressl"
37 +
38 +DEPEND="
39 + !libressl? ( dev-libs/openssl:0 )
40 + libressl? ( dev-libs/libressl )
41 + dev-libs/libxml2
42 + sys-libs/zlib
43 + acl? ( sys-apps/acl )
44 + bzip2? ( app-arch/bzip2 )"
45 +RDEPEND="${DEPEND}"
46 +
47 +DOCS=( TODO )
48 +
49 +src_prepare() {
50 + epatch "${FILESDIR}/${P}-automagic_acl_and_bzip2.patch"
51 + epatch "${FILESDIR}/${P}-respect_ldflags.patch"
52 + epatch_user
53 + eautoconf
54 +}
55 +
56 +src_configure() {
57 + econf $(use_enable acl) $(use_enable bzip2)
58 +}