wok-current annotate xorg-xf86-video-v4l/receipt @ 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 | |
children | c514cc4854d8 |
rev | line source |
---|---|
jozee@4490 | 1 # SliTaz package receipt. |
jozee@4490 | 2 |
jozee@4490 | 3 PACKAGE="xorg-xf86-video-v4l" |
jozee@4490 | 4 VERSION="0.2.0" |
jozee@4490 | 5 CATEGORY="x-window" |
jozee@4490 | 6 MAINTAINER="devel@slitaz.org" |
jozee@4490 | 7 SHORT_DESC="X.org v4l video driver" |
jozee@4490 | 8 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@4490 | 9 DEPENDS="glibc-base" |
jozee@4490 | 10 BUILD_DEPENDS="xorg-server xorg-server-dev xorg-xproto" |
jozee@4490 | 11 SOURCE="xf86-video-v4l" |
jozee@4490 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@4490 | 13 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL" |
jozee@4490 | 14 TAGS="" |
jozee@4490 | 15 |
jozee@4490 | 16 # Rules to configure and make the package. |
jozee@4490 | 17 |
jozee@4490 | 18 compile_rules() { |
jozee@4490 | 19 cd "$src" |
jozee@4490 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
jozee@4490 | 21 make && |
jozee@4490 | 22 make DESTDIR="$PWD/_pkg" install |
jozee@4490 | 23 } |
jozee@4490 | 24 |
jozee@4490 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4490 | 26 genpkg_rules() |
jozee@4490 | 27 { |
jozee@4490 | 28 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
jozee@4490 | 29 cp -a $_pkg/usr/lib/xorg/modules/drivers/*.so \ |
jozee@4490 | 30 $fs/usr/lib/X11/modules/drivers/ |
jozee@4490 | 31 } |