2020-05-14 01:11:22 +02:00
|
|
|
# Copyright 2020 Gentoo Authors
|
2020-03-18 22:24:27 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
inherit unpacker
|
|
|
|
|
|
|
|
DESCRIPTION="libcurl libraries linked with gnutls"
|
|
|
|
HOMEPAGE="https://curl.haxx.se"
|
|
|
|
MIRROR_URI="https://mirror.rackspace.com/archlinux"
|
|
|
|
SRC_URI="
|
|
|
|
amd64? (
|
2020-07-22 11:43:06 +02:00
|
|
|
${MIRROR_URI}/community/os/x86_64/${PN}-${PV}-1-x86_64.pkg.tar.zst
|
2020-03-18 22:24:27 +01:00
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
RESTRICT="mirror strip"
|
|
|
|
|
2020-05-14 01:11:22 +02:00
|
|
|
COMMON_DEPEND="net-misc/curl[-curl_ssl_gnutls]"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
${COMMON_DEPEND}
|
|
|
|
app-arch/zstd
|
|
|
|
"
|
2020-03-18 22:24:27 +01:00
|
|
|
|
2020-05-14 01:11:22 +02:00
|
|
|
RDEPEND="
|
|
|
|
${COMMON_DEPEND}
|
|
|
|
net-libs/nghttp2
|
|
|
|
>=dev-libs/nettle-3.6
|
2020-03-18 22:24:27 +01:00
|
|
|
"
|
|
|
|
|
2020-05-14 01:11:22 +02:00
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
#QA_PRESTRIPPED="
|
|
|
|
# /usr/lib/libcurl-gnutls-4.5.0
|
|
|
|
# /usr/lib64/libcurl-gnutls-4.5.0
|
|
|
|
# /usr/lib/libcurl-gnutls-4.6.0
|
|
|
|
# /usr/lib64/libcurl-gnutls-4.6.0
|
|
|
|
#"
|
|
|
|
|
2020-03-18 22:24:27 +01:00
|
|
|
src_install(){
|
|
|
|
mkdir -p "${D}/usr/$(get_libdir)"
|
|
|
|
cp -r usr/lib/. "${D}/usr/$(get_libdir)"
|
|
|
|
}
|