wok annotate 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
rev   line source
jozee@4488 1 # SliTaz package receipt.
jozee@4488 2
jozee@4488 3 PACKAGE="libv4l"
jozee@4488 4 VERSION="0.6.3"
jozee@4488 5 CATEGORY="multimedia"
jozee@4488 6 MAINTAINER="jozee@slitaz.org"
jozee@4488 7 SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)"
jozee@4488 8 DEPENDS="glibc-base"
jozee@4488 9 WEB_SITE="http://hansdegoede.livejournal.com/3636.html"
jozee@4488 10 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
jozee@4488 11 WGET_URL="http://people.fedoraproject.org/~jwrdegoede/$TARBALL"
jozee@4488 12 TAGS="webcam video"
jozee@4488 13
jozee@4488 14 # Rules to configure and make the package.
jozee@4488 15
jozee@4488 16 compile_rules() {
jozee@4488 17 cd $src
jozee@4488 18 make &&
jozee@4488 19 make install PREFIX="/usr" DESTDIR="${PWD}/_pkg"
jozee@4488 20 }
jozee@4488 21
jozee@4488 22 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@4488 23 genpkg_rules()
jozee@4488 24 {
jozee@4488 25 mkdir -p $fs/usr/lib
jozee@4488 26 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@4488 27 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
jozee@4488 28
jozee@4488 29 }