wok-6.x annotate xorg-xf86-video-v4l/receipt @ rev 11781
added ghex (2.24.0)
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Feb 23 15:44:13 2012 -0800 (2012-02-23) |
parents | e06ce5d42f15 |
children | 6971e86f8875 |
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/" |
slaxemulator@8029 | 9 DEPENDS="xorg-server" |
slaxemulator@8029 | 10 BUILD_DEPENDS="xorg-server-dev" |
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 } |