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

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents e06ce5d42f15
children 6971e86f8875
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="xorg-server"
10 BUILD_DEPENDS="xorg-server-dev"
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 }