Files
guru/net-misc/gsocket/gsocket-1.4.41.ebuild
Daichi Yamamoto 7f3159a157 net-misc/gsocket: new package, add 1.4.41, 9999
Signed-off-by: Daichi Yamamoto <dev@dyama.net>
2023-11-23 09:23:38 +09:00

29 lines
648 B
Bash

# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Connect like there is no firewall. Securely."
HOMEPAGE="https://www.gsocket.io/"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/hackerschoice/gsocket.git"
else
SRC_URI="https://github.com/hackerschoice/gsocket/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="BSD-2"
SLOT="0"
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}