summaryrefslogtreecommitdiff
path: root/v4l2-apps/lib/libv4l/README
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2008-07-04 19:28:49 +0200
committerThierry MERLE <thierry.merle@free.fr>2008-07-04 19:28:49 +0200
commit40536a32a310338da9cf2c697dd978780aeda18a (patch)
treea90ad5019b39ad8e1d87f0e60df1bd75c66b72ae /v4l2-apps/lib/libv4l/README
parenta2ba6df565553cab552748eed038e5ed50a83fe8 (diff)
downloadmediapointer-dvb-s2-40536a32a310338da9cf2c697dd978780aeda18a.tar.gz
mediapointer-dvb-s2-40536a32a310338da9cf2c697dd978780aeda18a.tar.bz2
v4l2-library: libv4l-makefile-improvements.patch
From: Hans de Goede <j.w.r.degoede@hhs.nl> Makefile improvements: * Split DESTDIR into DESTDIR and PREFIX as used in most makefiles out there * Add LIBDIR variable to allow installation in <prefix>/lib64 for example * Install the wrappers in <libdir>/libv4l instead of directly under libdir, as they are not libraries meant for linking * preserve timestamps of header files when installing them Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'v4l2-apps/lib/libv4l/README')
-rw-r--r--v4l2-apps/lib/libv4l/README14
1 files changed, 9 insertions, 5 deletions
diff --git a/v4l2-apps/lib/libv4l/README b/v4l2-apps/lib/libv4l/README
index e795e7d81..b9b056f66 100644
--- a/v4l2-apps/lib/libv4l/README
+++ b/v4l2-apps/lib/libv4l/README
@@ -59,11 +59,12 @@ towards a video device the wrapper will redirect the call to the libv4lX
counterparts.
The preloadable libv4l1 wrapper which adds v4l2 device compatibility to v4l1
-applications is called v4l1compat.so. The preloadable libv4l1 wrapper which
-adds v4l2 device compatibility to v4l1 applications is called v4l2convert.so
+applications is called v4l1compat.so. The preloadable libv4l2 wrapper which
+adds support for various pixelformats to v4l2 applications is called
+v4l2convert.so.
Example usage (after install in default location):
-$ export LD_PRELOAD=/usr/local/lib/v4l1compat.so
+$ export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
$ camorama
@@ -71,9 +72,12 @@ Installation Instructions
-------------------------
Simple type the following commands from the libv4l-x.y.z directory
-(adjusting DESTDIR as desired):
+(adjusting PREFIX as desired):
make
-make install DESTDIR=/usr/local
+make install PREFIX=/usr/local
+
+Note: make install also supports the DESTDIR=... paramter for installation
+into chroots.
FAQ