wok diff libv4l/receipt @ rev 4609

libv4l: add LD_PREPLOAD trick to /etc/profile
author Rohit Joshi <jozee@slitaz.org>
date Tue Dec 15 16:42:43 2009 +0000 (2009-12-15)
parents 61ed234f88e9
children c7adce465b63
line diff
     1.1 --- a/libv4l/receipt	Wed Nov 18 10:50:17 2009 +0000
     1.2 +++ b/libv4l/receipt	Tue Dec 15 16:42:43 2009 +0000
     1.3 @@ -27,3 +27,8 @@
     1.4  	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
     1.5  	
     1.6  }
     1.7 +
     1.8 +post_install()
     1.9 +{
    1.10 +  echo "export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" >> $1/etc/profile
    1.11 +}