blob: 81b7edac60862b543999fff56d9c09c989220693 (
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
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
MY_P="${P/1.0/9libs}"
DESCRIPTION="An emulation of ACME, Plan9's hybrid window system, shell and editor"
HOMEPAGE="https://www.netlib.org/research/9libs/"
SRC_URI="https://www.netlib.org/research/9libs/${MY_P}.tar.gz"
S=${WORKDIR}/${MY_P}
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
DEPEND="
dev-libs/9libs
"
RDEPEND="
${DEPEND}
"
DOCS=(
README
)
PATCHES=( "${FILESDIR}/${P}-C23.patch" )
src_prepare() {
default
#bug https://bugs.gentoo.org/877123 and https://bugs.gentoo.org/906022
eautoreconf
}
src_configure() {
mhw_cv_mod_9libs_lib_path=/usr/$(get_libdir) \
mhw_cv_mod_9libs_inc_path=/usr/include/9libs \
econf
}
src_install() {
default
insinto /usr/share/${PN}
doins "${S}"/misc/*
}
|