wok 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 | 449da9eb3888 |
children | 9a7a480a539f |
files | libv4l/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libv4l/receipt Wed Nov 18 10:50:17 2009 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libv4l" 1.7 +VERSION="0.6.3" 1.8 +CATEGORY="multimedia" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)" 1.11 +DEPENDS="glibc-base" 1.12 +WEB_SITE="http://hansdegoede.livejournal.com/3636.html" 1.13 +TARBALL="${PACKAGE}-${VERSION}.tar.gz" 1.14 +WGET_URL="http://people.fedoraproject.org/~jwrdegoede/$TARBALL" 1.15 +TAGS="webcam video" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 + 1.19 +compile_rules() { 1.20 + cd $src 1.21 + make && 1.22 + make install PREFIX="/usr" DESTDIR="${PWD}/_pkg" 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib 1.29 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ 1.30 + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.31 + 1.32 +}