wok-current view libv4l/receipt @ rev 4488

Add libv4l (linux video 1,2 for webcam)
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 18 10:50:17 2009 +0000 (2009-11-18)
parents
children 4fcb5252b15b
line source
1 # SliTaz package receipt.
3 PACKAGE="libv4l"
4 VERSION="0.6.3"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)"
8 DEPENDS="glibc-base"
9 WEB_SITE="http://hansdegoede.livejournal.com/3636.html"
10 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
11 WGET_URL="http://people.fedoraproject.org/~jwrdegoede/$TARBALL"
12 TAGS="webcam video"
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
18 make &&
19 make install PREFIX="/usr" DESTDIR="${PWD}/_pkg"
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
27 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
29 }