1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
9 HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
10 SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="doc ipv6 static-libs"
17 DEPEND=">=sys-devel/make-3.81"
21 # Remove QA warning about LDFLAGS addition
22 sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
28 $(use_enable static-libs static) \
29 --dynlibdir=/$(get_libdir) \
30 --libdir=/usr/$(get_libdir)/${PN} \
32 --sysdepdir=/usr/$(get_libdir)/${PN} \
38 dodir /etc/ld.so.conf.d/
39 echo "/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
41 use doc && dohtml -r doc/*