wok-6.x rev 4490

Add xorg-xf86-video-v4l
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 18 12:40:58 2009 +0000 (2009-11-18)
parents 9a7a480a539f
children 9bf33ac95b16
files xorg-xf86-video-v4l/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-v4l/receipt	Wed Nov 18 12:40:58 2009 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-v4l"
     1.7 +VERSION="0.2.0"
     1.8 +CATEGORY="x-window"
     1.9 +MAINTAINER="devel@slitaz.org"
    1.10 +SHORT_DESC="X.org v4l video driver"
    1.11 +WEB_SITE="http://xorg.freedesktop.org/"
    1.12 +DEPENDS="glibc-base"
    1.13 +BUILD_DEPENDS="xorg-server xorg-server-dev xorg-xproto"
    1.14 +SOURCE="xf86-video-v4l"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 +WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL"
    1.17 +TAGS=""
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +
    1.21 +compile_rules() {
    1.22 +  cd "$src"
    1.23 +  ./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.24 +  make &&
    1.25 +  make DESTDIR="$PWD/_pkg" install  
    1.26 +}
    1.27 +	
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.32 +	cp -a $_pkg/usr/lib/xorg/modules/drivers/*.so \
    1.33 +    	$fs/usr/lib/X11/modules/drivers/	
    1.34 +}