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: dev-libs/skyutils/
Date: Sun, 26 Jun 2016 00:09:46
Message-Id: 1466899741.7d0a5b8014b5383d061ae6da0183d438c9ad0bf9.blueness@gentoo
1 commit: 7d0a5b8014b5383d061ae6da0183d438c9ad0bf9
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 00:09:01 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 00:09:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d0a5b80
7
8 dev-libs/skyutils: add libressl support
9
10 Package-Manager: portage-2.2.28
11
12 dev-libs/skyutils/skyutils-2.8-r3.ebuild | 36 ++++++++++++++++++++++++++++++++
13 1 file changed, 36 insertions(+)
14
15 diff --git a/dev-libs/skyutils/skyutils-2.8-r3.ebuild b/dev-libs/skyutils/skyutils-2.8-r3.ebuild
16 new file mode 100644
17 index 0000000..9078880
18 --- /dev/null
19 +++ b/dev-libs/skyutils/skyutils-2.8-r3.ebuild
20 @@ -0,0 +1,36 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit eutils flag-o-matic autotools
27 +
28 +DESCRIPTION="Library of assorted C utility functions"
29 +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" # was "http://zekiller.skytech.org/coders_en.html"
30 +SRC_URI="mirror://gentoo/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
35 +IUSE="libressl ssl"
36 +
37 +DEPEND="ssl? (
38 + !libressl? ( dev-libs/openssl:0= )
39 + libressl? ( dev-libs/libressl:0= )
40 +)"
41 +
42 +src_prepare() {
43 + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
44 + epatch "${FILESDIR}"/${P}-libs.patch
45 + eautoreconf
46 +}
47 +
48 +src_configure() {
49 + append-flags -D_GNU_SOURCE
50 + econf `use_enable ssl` || die "./configure failed"
51 +}
52 +
53 +src_install () {
54 + emake DESTDIR="${D}" install || die "make install failed"
55 + dodoc AUTHORS ChangeLog
56 +}