net-proxy/shadowsocks-simple-obfs - 0.0.5 (moexiami)

Search

Package Information

Description:
A simple obfuscating tool designed as plugin server of shadowsocks
Homepage:
https://github.com/shadowsocks/simple-obfs
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
0.0.5 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="A simple obfuscating tool designed as plugin server of shadowsocks"
HOMEPAGE="https://github.com/shadowsocks/simple-obfs"
SRC_URI="https://github.com/shadowsocks/simple-obfs/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+doc"

DEPEND="dev-libs/libev
	net-libs/libcork"
RDEPEND="${DEPEND}"
BDEPEND="doc? (
		app-text/asciidoc
		app-text/xmlto
	)"

S="${WORKDIR}"/simple-obfs-"${PV}"

src_prepare() {
	sed -i "s:libcork/Makefile::" configure.ac
	sed -i "s:\(SUBDIRS =.*\) libcork:\1:" Makefile.am
	sed -i -e 's:$(top_builddir)/libcork/libcork.la:-lcork:' \
		-e '/AM_CFLAGS.*libcork/d' src/Makefile.am
	default
	eautoreconf
}

src_configure() {
	myconf=""
	if ! use doc; then
		myconf+="--disable-documentation"
	fi

	econf ${myconf}
}

USE Flags

doc
Default: Enabled (+)

Dependencies

DEPEND

dev-libs/libev
	net-libs/libcork

RDEPEND

dev-libs/libev
	net-libs/libcork

BDEPEND

doc? (
		app-text/asciidoc
		app-text/xmlto
	)

Manifest for 0.0.5

Type File Size Source URLs
DIST shadowsocks-simple-obfs-0.0.5.tar.gz 98974 bytes https://github.com/shadowsocks/simple-obfs/archive/v0.0.5.tar.gz