/[gentoo-x86]/net-dns/tinystats/tinystats-1.1.ebuild
Gentoo

Contents of /net-dns/tinystats/tinystats-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Mar 23 12:54:58 2010 UTC (4 years, 3 months ago) by bangert
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +5 -5 lines
honour LDFLAGS - fix URLs (#309119) - thanks Doktor Notor
(Portage version: 2.2_rc67/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dns/tinystats/tinystats-1.1.ebuild,v 1.2 2008/01/25 23:10:02 bangert Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="A tinydns logging helper app."
8 HOMEPAGE="http://www.morettoni.net/tinystats.en.html"
9 SRC_URI="http://www.morettoni.net/bsd/${P}.tar.gz"
10 IUSE="ipv6"
11
12 SLOT="0"
13 LICENSE="BSD"
14 KEYWORDS="~x86"
15 RDEPEND="net-dns/djbdns"
16 S=${WORKDIR}/${PN}
17
18 src_compile() {
19 use ipv6 && IPV6="-D WITH_IPV6"
20 $(tc-getCC) ${CFLAGS} ${IPV6} -o tinystats ${LDFLAGS} tinystats.c || \
21 die "compile failed"
22 }
23
24 src_install() {
25 dobin tinystats || die 'dobin failed'
26 dodoc README
27 docinto sample
28 dodoc start_slave.sh.sample update_slave.sh.sample \
29 tinydns.log.run.sample tinydns.sh.sample
30 }

  ViewVC Help
Powered by ViewVC 1.1.20