1 # Copyright 2013-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="a non-interactive scripting language similar to SH"
10 HOMEPAGE="http://www.skarnet.org/software/execline/"
11 SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="static static-libs"
18 DEPEND=">=sys-devel/make-4.0
19 static? ( >=dev-libs/skalibs-2.3.8.3[static-libs] )
20 !static? ( >=dev-libs/skalibs-2.3.8.3 )
22 RDEPEND="!static? ( >=dev-libs/skalibs-2.3.8.3 )"
25 # Remove QA warning about LDFLAGS addition
26 sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
34 $(use_enable static-libs static) \
35 $(use_enable static allstatic) \
36 $(use_enable !static shared) \
39 --dynlibdir=/$(get_libdir) \
40 --libdir=/usr/$(get_libdir)/${PN} \
42 --sysdepdir=/usr/$(get_libdir)/${PN} \
43 --with-dynlib=/$(get_libdir) \
44 --with-lib=/usr/$(get_libdir)/skalibs \
45 --with-sysdeps=/usr/$(get_libdir)/skalibs