Libgphoto2

From CBLFS
Revision as of 07:53, 25 November 2006 by 71.255.92.126 (talk)
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 all-local &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
USE_ARCH=32 ./configure --prefix=/usr &&
make all-local &&
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 all-local &&
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 all-local &&
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