1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools flag-o-matic
8 DESCRIPTION="Tecla command-line editing library"
9 HOMEPAGE="http://www.astro.caltech.edu/~mcs/tecla/"
10 SRC_URI="http://www.astro.caltech.edu/~mcs/tecla/${P}.tar.gz"
14 KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux"
17 DEPEND="sys-libs/ncurses:="
23 "${FILESDIR}"/${PN}-1.6.1-install.patch
24 "${FILESDIR}"/${PN}-1.6.1-no-strip.patch
25 "${FILESDIR}"/${PN}-1.6.3-ldflags.patch
26 "${FILESDIR}"/${PN}-1.6.3-prll-build.patch
27 "${FILESDIR}"/${PN}-1.6.1-prll-install.patch
28 "${FILESDIR}"/${PN}-1.6.3-static-libs.patch
29 "${FILESDIR}"/${PN}-1.6.3-secure-runpath.patch
34 mv configure.in configure.ac || die
39 econf $(use_enable static-libs)
45 LDFLAGS="${LDFLAGS}" \
46 LFLAGS="$(raw-ldflags)"