wok-next annotate xorg-xf86-video-v4l/receipt @ rev 15579
Remove cromfs-or-squashfs; add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 10:06:29 2013 +0000 (2013-11-30) |
parents | 6971e86f8875 |
children |
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" |
pascal@15579 | 7 LICENSE="MIT" |
jozee@4490 | 8 SHORT_DESC="X.org v4l video driver" |
jozee@4490 | 9 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@4490 | 10 SOURCE="xf86-video-v4l" |
jozee@4490 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
jozee@4490 | 12 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL" |
jozee@4490 | 13 TAGS="" |
jozee@4490 | 14 |
pankso@12530 | 15 DEPENDS="xorg-server" |
pankso@12530 | 16 BUILD_DEPENDS="xorg-server-dev" |
pankso@12530 | 17 |
pankso@12530 | 18 MODS='/usr/lib/X11/modules' |
pankso@12530 | 19 |
jozee@4490 | 20 # Rules to configure and make the package. |
pankso@12530 | 21 compile_rules() |
pankso@12530 | 22 { |
pankso@12530 | 23 cd $src |
pankso@12530 | 24 ./configure \ |
pankso@12530 | 25 --sysconfdir=/etc \ |
pankso@12530 | 26 --mandir=/usr/share/man \ |
pankso@12530 | 27 --localstatedir=/var \ |
pankso@12530 | 28 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 29 $CONFIGURE_ARGS && |
pankso@12530 | 30 make && make install |
pankso@12530 | 31 } |
jozee@4490 | 32 |
jozee@4490 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4490 | 34 genpkg_rules() |
jozee@4490 | 35 { |
pankso@12530 | 36 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
jozee@4490 | 38 } |