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

amsn: Update deps and add patch to fix build.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 21:41:20 2012 +0000 (2012-07-04)
parents c514cc4854d8
children eb8067417980
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 SOURCE="xf86-video-v4l"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL"
12 TAGS=""
14 DEPENDS="xorg-server"
15 BUILD_DEPENDS="xorg-server-dev"
17 MODS='/usr/lib/X11/modules'
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=$MODS \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p ${fs}${MODS}/drivers
36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
37 }