wok-next view xorg-xf86-video-v4l/receipt @ rev 15591
tslib: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 20:00:14 2013 +0000 (2013-12-02) |
parents | 6971e86f8875 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-v4l"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 MAINTAINER="devel@slitaz.org"
7 LICENSE="MIT"
8 SHORT_DESC="X.org v4l video driver"
9 WEB_SITE="http://xorg.freedesktop.org/"
10 SOURCE="xf86-video-v4l"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/releases/individual/driver/$TARBALL"
13 TAGS=""
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 cd $src
24 ./configure \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-xorg-module-dir=$MODS \
29 $CONFIGURE_ARGS &&
30 make && 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 }