Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 339780
Collapse All | Expand All

(-)droidcam-2.0.ebuild (-5 / +6 lines)
Lines 11-30 Link Here
11
LICENSE=""
11
LICENSE=""
12
12
13
SLOT="0"
13
SLOT="0"
14
KEYWORDS="~x86"
14
KEYWORDS="-* ~x86 ~amd64"
15
IUSE=""
15
IUSE=""
16
DEPEND=""
16
DEPEND=""
17
RDEPEND="${DEPEND}"
17
RDEPEND="${DEPEND}"
18
18
19
S="${WORKDIR}"
19
S="${WORKDIR}"
20
20
21
MODULE_NAMES="droidcam_v4l(drivers/media/video:${S}/driver:${S}/driver)"
21
MODULE_NAMES="droidcam_v4l(kernel/drivers/media/video:${S}/driver:${S}/driver)"
22
22
23
src_compile() {
23
src_compile() {
24
    cd ${S}/src
24
	cd "${S}"/src
25
    emake droidcam || die "emake droidcam failed"
25
    emake droidcam || die "emake droidcam failed"
26
    cd ${S}/driver
26
	cd "${S}"/driver
27
    emake -C /lib/modules/`uname -r`/build M=`pwd` || die "emake kernel module failed"
27
	ARCH=$(uname -m)
28
	emake -C "${KV_OUT_DIR}" M=`pwd` || die "emake kernel module failed"
28
}
29
}
29
30
30
src_install() {
31
src_install() {

Return to bug 339780