1 |
1 |
# Copyright 1999-2022 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
MY_PN=build2-toolchain
|
7 |
7 |
MY_P="${MY_PN}-${PV}"
|
... | ... | |
18 |
18 |
RESTRICT="!test? ( test )"
|
19 |
19 |
|
20 |
20 |
RDEPEND="
|
21 |
|
~dev-cpp/libodb-2.5.0_beta19
|
22 |
|
~dev-cpp/libodb-sqlite-2.5.0_beta19
|
|
21 |
~dev-cpp/libodb-2.5.0_beta21
|
|
22 |
~dev-cpp/libodb-sqlite-2.5.0_beta21
|
23 |
23 |
dev-db/sqlite:3
|
24 |
24 |
"
|
25 |
25 |
BDEPEND="virtual/pkgconfig"
|
... | ... | |
27 |
27 |
|
28 |
28 |
PATCHES=(
|
29 |
29 |
"${FILESDIR}"/${PN}-0.13.0_alpha0_pre20200710-nousrlocal.patch
|
30 |
|
"${FILESDIR}"/${PN}-0.13.0-libcpp-undefined-symol-vtable-for-match_any_but_newline-exec.patch
|
|
30 |
"${FILESDIR}"/${PN}-0.14.0-update-for-install.patch
|
31 |
31 |
)
|
32 |
32 |
|
33 |
33 |
S="${WORKDIR}/${MY_P}"
|
... | ... | |
120 |
120 |
}
|
121 |
121 |
|
122 |
122 |
src_install() {
|
123 |
|
b install \
|
|
123 |
b install: build2/ bpkg/ bdep/ libbuild2-kconfig/ \
|
124 |
124 |
config.install.chroot="${D}"
|
|
125 |
rm -rf "${ED}"/usr/include/odb \
|
|
126 |
"${ED}"/usr/include/pkgconf/libpkgconf \
|
|
127 |
|| die
|
|
128 |
rm -f "${ED}"/usr/include/sqlite3.h \
|
|
129 |
"${ED}"/usr/include/sqlite3ext.h \
|
|
130 |
"${ED}"/usr/$(get_libdir)/libodb.so \
|
|
131 |
"${ED}"/usr/$(get_libdir)/libodb-*.so \
|
|
132 |
"${ED}"/usr/$(get_libdir)/libodb-sqlite.so \
|
|
133 |
"${ED}"/usr/$(get_libdir)/libodb-sqlite-*.so \
|
|
134 |
"${ED}"/usr/$(get_libdir)/libpkgconf.so \
|
|
135 |
"${ED}"/usr/$(get_libdir)/libsqlite3.so \
|
|
136 |
"${ED}"/usr/$(get_libdir)/pkgconfig/libodb-sqlite.pc \
|
|
137 |
"${ED}"/usr/$(get_libdir)/pkgconfig/libodb.shared.pc \
|
|
138 |
"${ED}"/usr/$(get_libdir)/pkgconfig/libodb-sqlite.shared.pc \
|
|
139 |
"${ED}"/usr/$(get_libdir)/pkgconfig/libpkgconf.pc \
|
|
140 |
"${ED}"/usr/$(get_libdir)/pkgconfig/libodb.pc \
|
|
141 |
|| die
|
125 |
142 |
mkdir -p "${ED}"/usr/share/doc/${PF}/html || die
|
126 |
143 |
mv -f "${ED}"/usr/share/doc/${PF}/*.xhtml "${ED}"/usr/share/doc/${PF}/html || die
|
127 |
144 |
}
|