summaryrefslogtreecommitdiffstats
path: root/dev-libs/skyutils/skyutils-2.8-r5.ebuild
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-11-28 02:34:44 +0100
committerSlávek Banko <[email protected]>2019-11-28 02:34:44 +0100
commit644110a847c5911c2eb04eb53c93031740561efc (patch)
tree9658dde1cc70b52b233957b7852f87d997e98156 /dev-libs/skyutils/skyutils-2.8-r5.ebuild
downloadtde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.tar.gz
tde-packaging-gentoo-644110a847c5911c2eb04eb53c93031740561efc.zip
Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'dev-libs/skyutils/skyutils-2.8-r5.ebuild')
-rw-r--r--dev-libs/skyutils/skyutils-2.8-r5.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/skyutils/skyutils-2.8-r5.ebuild b/dev-libs/skyutils/skyutils-2.8-r5.ebuild
new file mode 100644
index 00000000..35f216a3
--- /dev/null
+++ b/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)
+}