summaryrefslogtreecommitdiffstats
path: root/gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
commite6636bd5d6280d92996bd70b744e8a29e54c7e18 (patch)
tree014989bddcbc22c7a8d4dafa7b78f3e55b184718 /gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild
parent4b7471734323c7cb5bdc129857c94041418c81b5 (diff)
downloadtde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.tar.gz
tde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.zip
Gentoo: Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild')
-rw-r--r--gentoo/dev-libs/skyutils/skyutils-2.8-r5.ebuild37
1 files changed, 37 insertions, 0 deletions
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)
+}