summaryrefslogtreecommitdiff
blob: 334aa97ec1989ffcdec658c5c901bd7c7e7aa7bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/packetcommand/packetcommand-0.5.ebuild,v 1.4 2007/11/27 11:53:19 zzam Exp $

inherit linux-mod eutils

DESCRIPTION="A driver for the em84xx dvd disc access."
HOMEPAGE="http://www.htpc-forum.de"
SRC_URI="http://www.htpc-forum.de/download/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND=""
DEPEND="media-video/em84xx-modules"

CONFIG_CHECK="IDE"

pkg_setup() {
	linux-mod_pkg_setup
	MODULE_NAMES="packetcommand(video:)"
	BUILD_TARGETS="all"
	BUILD_PARAMS="KDIR=\"${KV_DIR}\" V=1"
}

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}/${PV}/kernel-2.6.19.diff"
}