blob: eed9640bbec9ecdc1aa9870ed1d54cd858ea3d76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="line editing library for UNIX call compatible with the FSF readline"
HOMEPAGE="https://troglobit.com/projects/editline/"
SRC_URI="https://github.com/troglobit/editline/releases/download/${PV}/${P}.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
PATCHES=("${FILESDIR}"/${PN}-1.16.0-rename-man.patch)
src_prepare() {
default
# To avoid collision with dev-libs/libedit
# we rename man/editline.3 to man/libeditline.3
mv man/editline.3 man/libeditline.3 || die
}
src_configure() {
econf --disable-static
}
src_install() {
default
# package installs .pc file
find "${D}" -name '*.la' -delete || die
}
|