/[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.8 - (show annotations) (download)
Wed Jun 13 12:08:36 2012 UTC (2 years, 2 months ago) by xmw
Branch: MAIN
Changes since 1.7: +16 -12 lines
EAPI-4, fix SRC_URI, fix HOMEPAGE

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.7 2010/07/13 14:43:01 fauli 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="BSD as-is"
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