mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-libs/usockets: drop old version
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST usockets-0.4.1.tar.gz 49955 BLAKE2B 581b5745c4b1562fe21ac81736ebc6db95ed9e25a47e3124fa4dbc25978cde9f901a651cbc99128952282407f506900cae79a59bb1aab8d5e951e114d1f8f3b7 SHA512 2fbb37e0d3768c4b79b100132edd4aea65c7483186394d9dd5729385031e257ebe7ba04e53cb67f796edbc035074268920a1fdb11be79a74cb83799a7b61f7c0
|
||||
DIST usockets-0.5.0.tar.gz 50852 BLAKE2B 69d36f4bad6e2bf87a8b33a023678b29d2aa2feea86ccd92d02d38e9b336d9b97a0d9709b381d7b2b1a20c86964eaa9fec8d7edaa322288b232ce7c3ea84f056 SHA512 ac734c1e6f50b0485456d5b0f06d6aeb5457b2b3cc1fc2c795773a469e0bdf7223256ba252d1f9cbead10948ca47ce8bcdbabc147fc3e6be59d1a051409375bd
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="tiny eventing, networking & crypto for async applications"
|
||||
HOMEPAGE="https://github.com/uNetworking/uSockets"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/uNetworking/uSockets.git"
|
||||
else
|
||||
SRC_URI="https://github.com/uNetworking/uSockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
S="${WORKDIR}/uSockets-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="libuv +ssl libressl static-libs"
|
||||
|
||||
DEPEND="ssl? (
|
||||
libressl? ( >=dev-libs/libressl-3.0.0:=[static-libs?] )
|
||||
!libressl? ( >=dev-libs/openssl-1.1.0:=[static-libs?] )
|
||||
)
|
||||
libuv? ( dev-libs/libuv[static-libs?] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/usockets-Makefile.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
# the Makefile uses environment variables
|
||||
emake LIBusockets_VERSION=${PV} \
|
||||
WITH_OPENSSL=$(usex ssl 1 0) \
|
||||
WITH_LIBUV=$(usex libuv 1 0) \
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake libdir="/usr/$(get_libdir)" \
|
||||
prefix="/usr" \
|
||||
DESTDIR="${D}" \
|
||||
LIBusockets_VERSION=${PV} \
|
||||
install
|
||||
einstalldocs
|
||||
if ! use static-libs; then
|
||||
rm "${D}/usr/$(get_libdir)/libusockets.a" || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user