Libgphoto2: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://prdownloads.sourceforge.net/gphoto/libgphoto2- | | http://prdownloads.sourceforge.net/gphoto/libgphoto2-{{Libgphoto2-Version}}.tar.bz2 | ||
|} | |} | ||
Revision as of 20:42, 17 December 2006
| Download Source: | http://prdownloads.sourceforge.net/gphoto/libgphoto2-2.4.9.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