/[gentoo-x86]/net-dns/totd/totd-1.5.1.ebuild
Gentoo

Contents of /net-dns/totd/totd-1.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Apr 14 20:49:26 2013 UTC (6 years, 9 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
Fix LICENSE, see COPYRIGHT file, bug 465142.

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dns/totd/totd-1.5.1.ebuild,v 1.8 2012/06/13 12:08:36 xmw Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 DESCRIPTION="Trick Or Treat Daemon, a DNS proxy for 6to4"
10 HOMEPAGE="http://www.dillema.net/software/totd.html"
11 SRC_URI="http://www.dillema.net/software/${PN}/${P}.tar.gz"
12
13 LICENSE="totd BSD BSD-4"
14 SLOT="0"
15 KEYWORDS="~amd64 x86"
16 IUSE=""
17
18 DEPEND=""
19 RDEPEND=""
20
21 src_prepare() {
22 epatch "${FILESDIR}"/${P}-no_werror.patch
23 }
24
25 src_configure() {
26 econf \
27 --enable-ipv4 \
28 --enable-ipv6 \
29 --enable-stf \
30 --enable-scoped-rewrite \
31 --disable-http-server
32 }
33
34 src_install() {
35 dosbin totd
36 doman totd.8
37 dodoc totd.conf.sample README INSTALL
38
39 doinitd "${FILESDIR}"/totd
40 }
41
42 pkg_postinst() {
43 elog "The totd.conf.sample file in /usr/share/doc/${P}/ contains"
44 elog "a sample config file for totd. Make sure you create"
45 elog "/etc/totd.conf with the necessary configurations"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20