File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
sdk_container/src/third_party/portage-stable/net-libs/http-parser Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
- # Copyright 1999-2021 Gentoo Authors
1
+ # Copyright 1999-2023 Gentoo Authors
2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
- EAPI=7
5
- inherit toolchain-funcs multilib-minimal
4
+ EAPI=8
5
+
6
+ inherit toolchain-funcs
6
7
7
8
DESCRIPTION=" HTTP request/response parser for C"
8
9
HOMEPAGE=" https://github.com/nodejs/http-parser"
@@ -12,26 +13,26 @@ LICENSE="MIT"
12
13
# 2.9.4 restored ABI compatibility with 2.9.0 but since we failed
13
14
# to set subslot in 2.9.3, we want to provoke another rebuild
14
15
SLOT=" 0/2.9.4"
15
- KEYWORDS=" ~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~ sparc x86 ~amd64-linux ~x64-macos ~x64-solaris"
16
+ KEYWORDS=" ~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x64-macos ~x64-solaris"
16
17
17
18
PATCHES=(
18
19
" ${FILESDIR} " /${P} -non-x86-test.patch
19
20
)
20
21
21
- src_prepare () {
22
- default
22
+ src_configure () {
23
23
tc-export CC AR
24
- multilib_copy_sources
25
24
}
26
25
27
- multilib_src_compile () {
26
+ src_compile () {
28
27
emake PREFIX=" ${EPREFIX} /usr" LIBDIR=" ${EPREFIX} /usr/$( get_libdir) " CFLAGS_FAST=" ${CFLAGS} " library
29
28
}
30
29
31
- multilib_src_test () {
30
+ src_test () {
32
31
emake CFLAGS_DEBUG=" ${CFLAGS} " CFLAGS_FAST=" ${CFLAGS} " test
33
32
}
34
33
35
- multilib_src_install () {
34
+ src_install () {
36
35
emake DESTDIR=" ${D} " PREFIX=" ${EPREFIX} /usr" LIBDIR=" ${EPREFIX} /usr/$( get_libdir) " install
36
+
37
+ einstalldocs
37
38
}
You can’t perform that action at this time.
0 commit comments