blob: dc1f43fcd7a3ea451b7a60d6b30f3fe5ca32295b (
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
33
34
35
36
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/xfi-drivers/xfi-drivers-1.00.ebuild,v 1.3 2008/11/23 10:37:58 loki_val Exp $
inherit linux-mod
MY_PN=XFiDrv_Linux_Public_US
MY_P=${MY_PN}_${PV}
DESCRIPTION="Driver for the XFI-series Creative sound cards"
HOMEPAGE="http://www.creative.com/"
SRC_URI="http://files.creative.com/manualdn/Drivers/AVP/10792/0x0343D29A/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND=""
RDEPEND="${DEPEND}"
S=${WORKDIR}/${MY_P}
MODULE_NAMES="ctxfi(sound:${S}:${S})"
BUILD_TARGETS="all"
BUILD_PARAMS="$(use debug&&echo DEBUG=y)"
CONFIG_CHECK="SND SOUND"
src_unpack() {
unpack ${A}
cd "${S}"
sed -r -i -e 's/KERNELDIR/KERNEL_DIR/g' \
-e 's/CFLAGS/EXTRA_CFLAGS/' \
Makefile
}
|