summaryrefslogtreecommitdiff
blob: 4f979906ca3c87894c3d30f2c5b0030406be25b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/totd/totd-1.3.ebuild,v 1.2 2003/09/05 22:01:49 msterret Exp $

DESCRIPTION="Trick Or Treat Daemon, a DNS proxy for 6to4"
HOMEPAGE="http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html"
SRC_URI="ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/${P}.tar.gz"
LICENSE="BSD as-is"

SLOT="0"
KEYWORDS="~x86"
IUSE="ipv6"
DEPEND=""

S=${WORKDIR}/${P}

src_compile() {
	econf || die
	emake || die
}

src_install() {
	dosbin totd
	doman totd.8
	dodoc totd.conf.sample README INSTALL

	exeinto /etc/init.d
	doexe ${FILESDIR}/totd
}

pkg_postinst() {
	einfo "/usr/share/doc/${P}/totd.conf.sample.gz contains"
	einfo "a sample config file for totd. Make sure you create"
	einfo "/etc/totd.conf with the necessary configurations"
}