wok-6.x view xorg-xf86-video-v4l/receipt @ rev 23861

xvkbd: fix fetch,compile,and genpkg
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 01:26:32 2020 -0400 (2020-06-19)
parents eb8067417980
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-v4l"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X.org v4l video driver."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xf86-video-v4l"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 DEPENDS="xorg-server"
16 BUILD_DEPENDS="xorg-server-dev"
18 MODS='/usr/lib/X11/modules'
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=$MODS \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p ${fs}${MODS}/drivers
37 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
38 }