3 inherit eutils flag-o-matic
5 DESCRIPTION
="A tool for securing communications between a client and a DNS resolver"
6 HOMEPAGE
="http://dnscrypt.org"
7 SRC_URI
="http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-${PV}.tar.gz"
14 >=dev-libs/libsodium-0.4.2"
19 enewuser dnscrypt
-1 -1 /var
/empty dnscrypt
23 econf $
(use_enable plugins
)
27 emake DESTDIR
="${D}" install || die
"emake install failed"
29 newinitd
"${FILESDIR}/dnscrypt-proxy_1_2_0.initd" dnscrypt-proxy || die
"newinitd failed"
30 newconfd
"${FILESDIR}/dnscrypt-proxy_1_2_0.confd" dnscrypt-proxy || die
"newconfd failed"
32 dodoc
{AUTHORS
,COPYING
,INSTALL
,NEWS
,README
,README.markdown
,TECHNOTES
,THANKS
} || die
"dodoc failed"