Libgphoto2

From CBLFS
Revision as of 05:51, 25 November 2006 by 87.167.215.33 (talk) (Non-Multilib)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/gphoto/libgphoto2-2.2.1.tar.bz2

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install


  • if you experience problems during compile about some .h files not found in gphoto, try to run make all-local first

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
USE_ARCH=32 ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/gphoto2-config{,-32} &&
mv -v /usr/bin/gphoto2-port-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/gphoto2-config{,-n32} &&
mv -v /usr/bin/gphoto2-port-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/gphoto2-config{,-64} &&
mv -v /usr/bin/gphoto2-port-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/gphoto2-config &&
ln -sfv multiarch_wrapper /usr/bin/gphoto2-port-config