|
Lines 1-6
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/media-video/video-entropyd/video-entropyd-0.7.ebuild,v 1.7 2007/05/01 01:49:18 genone Exp $ |
3 |
# $Header: $ |
|
|
4 |
|
| 5 |
inherit toolchain-funcs |
| 4 |
|
6 |
|
| 5 |
MY_PN="${PN/-/_}" |
7 |
MY_PN="${PN/-/_}" |
| 6 |
MY_P="${MY_PN}-${PV}" |
8 |
MY_P="${MY_PN}-${PV}" |
|
Lines 11-24
Link Here
|
| 11 |
SLOT="0" |
13 |
SLOT="0" |
| 12 |
KEYWORDS="~amd64 ~ppc x86" |
14 |
KEYWORDS="~amd64 ~ppc x86" |
| 13 |
IUSE="" |
15 |
IUSE="" |
| 14 |
RDEPEND="virtual/libc |
16 |
RDEPEND="media-libs/netpbm" |
| 15 |
media-libs/netpbm" |
|
|
| 16 |
DEPEND="${RDEPEND} |
17 |
DEPEND="${RDEPEND} |
| 17 |
sys-kernel/linux-headers" # v4l headers from kernel |
18 |
sys-kernel/linux-headers" # v4l headers from kernel |
| 18 |
S="${WORKDIR}/${MY_P}" |
19 |
S="${WORKDIR}/${MY_P}" |
| 19 |
|
20 |
|
| 20 |
src_compile() { |
21 |
src_compile() { |
| 21 |
emake CFLAGS="${CFLAGS}" || die "emake failed" |
22 |
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die "emake failed" |
| 22 |
} |
23 |
} |
| 23 |
|
24 |
|
| 24 |
src_install() { |
25 |
src_install() { |