wok diff xorg-xf86-video-v4l/receipt @ rev 13408
get-virtualbox: add x86_64 support.
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 30 14:29:08 2012 +0200 (2012-09-30) |
parents | c514cc4854d8 |
children | eb8067417980 |
line diff
1.1 --- a/xorg-xf86-video-v4l/receipt Wed Jan 19 19:41:12 2011 +0000 1.2 +++ b/xorg-xf86-video-v4l/receipt Sun Sep 30 14:29:08 2012 +0200 1.3 @@ -6,26 +6,32 @@ 1.4 MAINTAINER="devel@slitaz.org" 1.5 SHORT_DESC="X.org v4l video driver" 1.6 WEB_SITE="http://xorg.freedesktop.org/" 1.7 -DEPENDS="xorg-server" 1.8 -BUILD_DEPENDS="xorg-server-dev" 1.9 SOURCE="xf86-video-v4l" 1.10 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.11 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL" 1.12 TAGS="" 1.13 1.14 +DEPENDS="xorg-server" 1.15 +BUILD_DEPENDS="xorg-server-dev" 1.16 + 1.17 +MODS='/usr/lib/X11/modules' 1.18 + 1.19 # Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure \ 1.24 + --sysconfdir=/etc \ 1.25 + --mandir=/usr/share/man \ 1.26 + --localstatedir=/var \ 1.27 + --with-xorg-module-dir=$MODS \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make install 1.30 +} 1.31 1.32 -compile_rules() { 1.33 - cd "$src" 1.34 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.35 - make && 1.36 - make DESTDIR="$PWD/_pkg" install 1.37 -} 1.38 - 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr/lib/X11/modules/drivers/ 1.43 - cp -a $_pkg/usr/lib/xorg/modules/drivers/*.so \ 1.44 - $fs/usr/lib/X11/modules/drivers/ 1.45 + mkdir -p ${fs}${MODS}/drivers 1.46 + cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers 1.47 }