Lines 5-12
Link Here
|
5 |
inherit toolchain-funcs |
5 |
inherit toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="A tinydns logging helper app." |
7 |
DESCRIPTION="A tinydns logging helper app." |
8 |
HOMEPAGE="http://morettoni.net/tinystats.en.html" |
8 |
HOMEPAGE="http://www.morettoni.net/tinystats.en.html" |
9 |
SRC_URI="http://morettoni.net/bsd/${P}.tar.gz" |
9 |
SRC_URI="http://www.morettoni.net/bsd/${P}.tar.gz" |
10 |
IUSE="ipv6" |
10 |
IUSE="ipv6" |
11 |
|
11 |
|
12 |
SLOT="0" |
12 |
SLOT="0" |
Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
src_compile() { |
18 |
src_compile() { |
19 |
use ipv6 && IPV6="-D WITH_IPV6" |
19 |
use ipv6 && IPV6="-D WITH_IPV6" |
20 |
$(tc-getCC) ${CFLAGS} ${IPV6} -o tinystats tinystats.c || \ |
20 |
$(tc-getCC) ${CFLAGS} ${IPV6} -o tinystats ${LDFLAGS} tinystats.c || \ |
21 |
die "compile failed" |
21 |
die "compile failed" |
22 |
} |
22 |
} |
23 |
|
23 |
|