wok view xorg-xf86-video-v4l/receipt @ rev 7420

Fixed nvidia soft links. No need to cd into folders. Also added linux-module-headers to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 28 07:13:52 2010 +0000 (2010-11-28)
parents
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-v4l"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 MAINTAINER="devel@slitaz.org"
7 SHORT_DESC="X.org v4l video driver"
8 WEB_SITE="http://xorg.freedesktop.org/"
9 DEPENDS="glibc-base"
10 BUILD_DEPENDS="xorg-server xorg-server-dev xorg-xproto"
11 SOURCE="xf86-video-v4l"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL"
14 TAGS=""
16 # Rules to configure and make the package.
18 compile_rules() {
19 cd "$src"
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR="$PWD/_pkg" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/X11/modules/drivers/
29 cp -a $_pkg/usr/lib/xorg/modules/drivers/*.so \
30 $fs/usr/lib/X11/modules/drivers/
31 }