From 5c0683ae428128656b963beda7b44d1b3af39cc7 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 26 Feb 2010 16:06:40 +0100 Subject: Update docs for the new v4l-utils as a separate project situation Signed-off-by: Hans de Goede --- INSTALL | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 0645a076..25a10e8b 100644 --- a/INSTALL +++ b/INSTALL @@ -1,12 +1,30 @@ +Requirements: +------------- +* make and a c and c++ compiler +* optionally qt3 ot qt4 for building qv4l2 +* optionally libsysfs for building v4l2-sysfs-path + + Building: +--------- + +Before building decide under which PREFIX you wish to install +(the default is /usr/local), and if you want the libraries to be installed +under a different directory then $PREFIX/lib for example $PREFIX/lib64. + +To build execute "make" specifying the desired installation prefix +and (optionally) the desired libdir, for example: +make PREFIX=/usr LIBDIR=/usr/lib64 -simply type -$ make Installing: +----------- -$ make install -installs libraries and utils to /usr/[bin,include,lib] +To install do "make install", and again specify the desired PREFIX and +LIBDIR, note that it is important to specify the same PREFIX and LIBDIR +as used when building, for example: +make install PREFIX=/usr LIBDIR=/usr/lib64 -$ make install prefix= -installs libraries and utils to /[bin,include,lib] +Note that v4l-utils' "make install" supports DESTDIR for installing into +a build root for example: +make install PREFIX=/usr LIBDIR=/usr/lib64 DESTDIR=/mnt/sysimage -- cgit v1.2.1