# HG changeset patch # User Rohit Joshi # Date 1258541417 0 # Node ID 61ed234f88e929dbf49f5b5cf2a249a7919d3931 # Parent 449da9eb38886b2e513e43246f2ed3fe596d35fb Add libv4l (linux video 1,2 for webcam) diff -r 449da9eb3888 -r 61ed234f88e9 libv4l/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libv4l/receipt Wed Nov 18 10:50:17 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libv4l" +VERSION="0.6.3" +CATEGORY="multimedia" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)" +DEPENDS="glibc-base" +WEB_SITE="http://hansdegoede.livejournal.com/3636.html" +TARBALL="${PACKAGE}-${VERSION}.tar.gz" +WGET_URL="http://people.fedoraproject.org/~jwrdegoede/$TARBALL" +TAGS="webcam video" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + make && + make install PREFIX="/usr" DESTDIR="${PWD}/_pkg" +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib + +}