From e6636bd5d6280d92996bd70b744e8a29e54c7e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 19 Nov 2019 17:45:28 +0100 Subject: Gentoo: Initial import of an ebuilds tree from Fat-Zer's (Alexander Golubev) repository. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild | 37 +++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild (limited to 'gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild') diff --git a/gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild b/gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild new file mode 100644 index 000000000..35f216a3b --- /dev/null +++ b/gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit flag-o-matic autotools + +DESCRIPTION="Library of assorted C utility functions" +# Was: http://zekiller.skytech.org/coders_en.html +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="ssl" + +DEPEND="ssl? ( dev-libs/openssl:0=[sslv3] )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-libs.patch" + "${FILESDIR}/fix-Wformat-security-warnings.patch" +) + +src_prepare() { + default + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in \ + || die 'failed to rename AM_CONFIG_HEADER macro' + + eautoreconf +} + +src_configure() { + append-flags -D_GNU_SOURCE + econf $(use_enable ssl) +} -- cgit v1.2.1