Contents of /smage/trunk/deprecated/libngtcp2/libngtcp2-1.3.0-r1.smage2
Parent Directory | Revision Log
Revision 17964 -
(show annotations)
(download)
Wed Mar 13 12:48:51 2024 UTC (6 months, 2 weeks ago) by niro
File size: 745 byte(s)
Wed Mar 13 12:48:51 2024 UTC (6 months, 2 weeks ago) by niro
File size: 745 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="libngtcp2" |
4 | PVER="1.3.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-libs" |
8 | |
9 | DESCRIPTION="TCP/2 QUIC C library." |
10 | HOMEPAGE="https://nghttp2.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | ALX_LIB32_DEPEND=">= virtual/glibc-lib32" |
14 | |
15 | SRCFILE="${PNAME/lib/}-${PVER}.tar.xz" |
16 | SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" |
17 | |
18 | ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*" |
19 | ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*" |
20 | sminclude multilib mbuild lib32-split alx-split |
21 | |
22 | SRC_URI=( |
23 | https://github.com/${PNAME/lib/}/${PNAME/lib/}/releases/download/v${PVER}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2SEPERATOR="v" |
28 | UP2DATE="updatecmd https://github.com/${PNAME/lib/}/${PNAME/lib/}/tags | highesttarball gz" |
29 | |
30 | src_compile() |
31 | { |
32 | mconfigure --enable-lib-only || die |
33 | mmake || die |
34 | } |