34 lines
661 B
Bash
34 lines
661 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=4
|
|
inherit autotools eutils
|
|
|
|
DESCRIPTION="A lightweight SOCKS proxy server"
|
|
HOMEPAGE="http://monkey.org/~marius/nylon/"
|
|
SRC_URI="http://monkey.org/~marius/nylon/${P}.tar.gz"
|
|
|
|
LICENSE="BSD GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-libs/libevent-0.6"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
DOCS=( README THANKS )
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-libevent.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
insinto /etc ; doins "${FILESDIR}/nylon.conf"
|
|
newinitd "${FILESDIR}/nylon.init" nylond
|
|
}
|