wok annotate xorg-xf86-video-v4l/receipt @ rev 14766
915resolution: fix ownership; acl: '*.so' must be executable, more tips from BLFS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 26 23:09:23 2013 +0300 (2013-06-26) |
parents | c514cc4854d8 |
children | eb8067417980 |
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 SOURCE="xf86-video-v4l" |
jozee@4490 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@4490 | 11 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL" |
jozee@4490 | 12 TAGS="" |
jozee@4490 | 13 |
pankso@12530 | 14 DEPENDS="xorg-server" |
pankso@12530 | 15 BUILD_DEPENDS="xorg-server-dev" |
pankso@12530 | 16 |
pankso@12530 | 17 MODS='/usr/lib/X11/modules' |
pankso@12530 | 18 |
jozee@4490 | 19 # Rules to configure and make the package. |
pankso@12530 | 20 compile_rules() |
pankso@12530 | 21 { |
pankso@12530 | 22 cd $src |
pankso@12530 | 23 ./configure \ |
pankso@12530 | 24 --sysconfdir=/etc \ |
pankso@12530 | 25 --mandir=/usr/share/man \ |
pankso@12530 | 26 --localstatedir=/var \ |
pankso@12530 | 27 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 28 $CONFIGURE_ARGS && |
pankso@12530 | 29 make && make install |
pankso@12530 | 30 } |
jozee@4490 | 31 |
jozee@4490 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4490 | 33 genpkg_rules() |
jozee@4490 | 34 { |
pankso@12530 | 35 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
jozee@4490 | 37 } |