Difference between revisions of "Libgphoto2"
From CBLFS
Jump to navigationJump to search (→Non-Multilib) |
|||
Line 20: | Line 20: | ||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
+ | make all-local && | ||
make | make | ||
Line 25: | Line 26: | ||
make install | make install | ||
− | |||
− | |||
− | |||
== Multilib == | == Multilib == | ||
Line 37: | Line 35: | ||
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
USE_ARCH=32 ./configure --prefix=/usr && | USE_ARCH=32 ./configure --prefix=/usr && | ||
+ | make all-local && | ||
make | make | ||
Line 51: | Line 50: | ||
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ | ||
USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && | USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 && | ||
+ | make all-local && | ||
make | make | ||
Line 65: | Line 65: | ||
CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && | USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 && | ||
+ | make all-local && | ||
make | make | ||
Revision as of 07:53, 25 November 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 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