# HG changeset patch # User Rohit Joshi # Date 1258548058 0 # Node ID e06ce5d42f15891c3e16a01a944e8165557e98ea # Parent 9a7a480a539fe205819b55b7d44950e7d6de06cb Add xorg-xf86-video-v4l diff -r 9a7a480a539f -r e06ce5d42f15 xorg-xf86-video-v4l/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xorg-xf86-video-v4l/receipt Wed Nov 18 12:40:58 2009 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="xorg-xf86-video-v4l" +VERSION="0.2.0" +CATEGORY="x-window" +MAINTAINER="devel@slitaz.org" +SHORT_DESC="X.org v4l video driver" +WEB_SITE="http://xorg.freedesktop.org/" +DEPENDS="glibc-base" +BUILD_DEPENDS="xorg-server xorg-server-dev xorg-xproto" +SOURCE="xf86-video-v4l" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL" +TAGS="" + +# Rules to configure and make the package. + +compile_rules() { + cd "$src" + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR="$PWD/_pkg" install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/X11/modules/drivers/ + cp -a $_pkg/usr/lib/xorg/modules/drivers/*.so \ + $fs/usr/lib/X11/modules/drivers/ +}