Difference between revisions of "Libgphoto2"
From CBLFS
Jump to navigationJump to searchLine 38: | Line 38: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/gphoto2-config{,-32} && | ||
+ | mv -v /usr/bin/gphoto2-port-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 50: | Line 52: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/gphoto2-config{,-n32} && | ||
+ | mv -v /usr/bin/gphoto2-port-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 62: | Line 66: | ||
Install the package | Install the package | ||
− | make install | + | 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 |
Revision as of 16:49, 21 October 2006
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
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