wok view libv4l/receipt @ rev 13554

add traceroute 2.0.18. Really this time.
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Nov 02 19:32:40 2012 +0000 (2012-11-02)
parents 66e4194f3966
children 6eff489aa802
line source
1 # SliTaz package receipt.
3 PACKAGE="libv4l"
4 VERSION="0.8.5"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)"
8 WEB_SITE="http://freshmeat.net/projects/libv4l"
9 SOURCE="v4l-utils"
10 TARBALL="${SOURCE}-${VERSION}.tar.bz2"
11 WGET_URL="http://linuxtv.org/downloads/v4l-utils/$TARBALL"
12 TAGS="webcam video"
14 DEPENDS="libjpeg"
15 BUILD_DEPENDS="jpeg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 make &&
22 make install PREFIX="/usr" DESTDIR="$DESTDIR"
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
30 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
31 }
33 post_install()
34 {
35 echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile
36 }
38 post_remove()
39 {
40 sed -i 's/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/ /' $1/etc/profile
41 }