Difference between revisions of "Qca2"

From CBLFS
Jump to navigationJump to search
Line 10: Line 10:
  
 
* [[qt4]]
 
* [[qt4]]
* [[cmake]]
+
* [[CMake]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 24: Line 24:
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
 +
cp ${QTDIR}lib/pkgconfig/qca.pc ${QTDIR}/lib/pkgconfig/qca2.pc
  
 
== Multilib ==
 
== Multilib ==

Revision as of 04:05, 10 February 2008

Download Source: http://delta.affinix.com/download/qca/2.0/qca-2.0.0.tar.bz2

Dependencies

Required

Non-Multilib

Compile the package:

mkdir -v build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
.. &&
make

Install the package:

make install &&
cp ${QTDIR}lib/pkgconfig/qca.pc ${QTDIR}/lib/pkgconfig/qca2.pc

Multilib

32Bit

mkdir -v build &&
cd build &&
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
    -DCMAKE_CXX_FLAGS=${BUILD32} \
    -DCMAKE_C_FLAGS=${BUILD32} \
    .. &&
make

Install the Package

make install &&
cp ${QTDIR}lib/pkgconfig/qca.pc ${QTDIR}/lib/pkgconfig/qca2.pc 

N32

64Bit

mkdir -v build &&
cd build &&
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
    -DLIB_SUFFIX=64 \
    -DCMAKE_CXX_FLAGS=${BUILD64} \
    -DCMAKE_C_FLAGS=${BUILD64} \
    .. &&
make

Install the Package

make install &&
cp ${QTDIR}/lib64/pkgconfig/qca.pc ${QTDIR}/lib64/pkgconfig/qca2.pc
Retrieved from "?title=Qca2&oldid=13154"