Lines 1-14
Link Here
|
1 |
# Copyright 1999-2007 Gentoo Foundation |
1 |
# Copyright 1999-2007 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/dnsmasq/dnsmasq-2.40.ebuild,v 1.2 2007/10/20 14:14:19 armin76 Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit eutils toolchain-funcs flag-o-matic |
5 |
inherit eutils toolchain-funcs flag-o-matic |
6 |
|
6 |
|
7 |
MY_P="${P/_/}" |
7 |
MY_P="${P/_pre/test}" |
8 |
MY_PV="${PV/_rc*/}" |
8 |
MY_PV="${PV/_pre/test}" |
9 |
DESCRIPTION="Small forwarding DNS server" |
9 |
DESCRIPTION="Small forwarding DNS server" |
10 |
HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/" |
10 |
HOMEPAGE="http://www.thekelleys.org.uk/dnsmasq/" |
11 |
SRC_URI="http://www.thekelleys.org.uk/dnsmasq/${MY_P}.tar.gz" |
11 |
SRC_URI="http://www.thekelleys.org.uk/dnsmasq/test-releases/${MY_P}.tar.gz" |
12 |
|
12 |
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
Lines 31-36
Link Here
|
31 |
} |
31 |
} |
32 |
|
32 |
|
33 |
src_compile() { |
33 |
src_compile() { |
|
|
34 |
cd ${S} |
34 |
use tftp || append-flags -DNO_TFTP |
35 |
use tftp || append-flags -DNO_TFTP |
35 |
use dbus && sed -i '$ a #define HAVE_DBUS' src/config.h |
36 |
use dbus && sed -i '$ a #define HAVE_DBUS' src/config.h |
36 |
use isc && sed -i '$ a #define HAVE_ISC_READER' src/config.h |
37 |
use isc && sed -i '$ a #define HAVE_ISC_READER' src/config.h |