Difference between revisions of "Qca2"

From CBLFS
Jump to navigationJump to search
(Qca-2.0 uses traditional make and not cmake!)
Line 12: Line 12:
  
 
* [[Qt4]]
 
* [[Qt4]]
* [[CMake]]
 
 
 
== Non-Multilib ==
 
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
  
  mkdir -v build &&
+
  ./configure --prefix=${QT4DIR} &&
cd build &&
 
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
 
.. &&
 
 
  make
 
  make
  
 
Install the package:
 
Install the package:
  
  make install &&
+
  make install  
cp ${QTDIR}lib/pkgconfig/qca.pc ${QTDIR}/lib/pkgconfig/qca2.pc
 
  
 
== Multilib ==
 
== Multilib ==
Line 33: Line 27:
 
=== 32Bit ===
 
=== 32Bit ===
  
mkdir -v build &&
+
Compile the package:
  cd build &&
+
 
  USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
+
  export USE_ARCH=32 &&  
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    -DCMAKE_CXX_FLAGS=${BUILD32} \
+
./configure --prefix=${QT4DIR}
    -DCMAKE_C_FLAGS=${BUILD32} \
 
    .. &&
 
 
  make
 
  make
  
Install the Package
+
Install the package
  
 
  make install &&
 
  make install &&
  cp ${QTDIR}lib/pkgconfig/qca.pc ${QTDIR}/lib/pkgconfig/qca2.pc
+
  unset USE_ARCH
  
 
=== N32 ===
 
=== N32 ===
 +
 +
Compile the package:
 +
 +
To do ...
 +
 +
Install the package
 +
 +
To do ...
  
 
=== 64Bit ===
 
=== 64Bit ===
  
mkdir -v build &&
+
Compile the package:
  cd build &&
+
 
  USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
  export USE_ARCH=64 &&  
cmake -DCMAKE_INSTALL_PREFIX=${QTDIR} \
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    -DLIB_SUFFIX=64 \
+
./configure --prefix=${QT4DIR} --libdir=${QT4DIR}/lib64
    -DCMAKE_CXX_FLAGS=${BUILD64} \
 
    -DCMAKE_C_FLAGS=${BUILD64} \
 
    .. &&
 
 
  make
 
  make
  
Install the Package
+
Install the package
  
 
  make install &&
 
  make install &&
  cp ${QTDIR}/lib64/pkgconfig/qca.pc ${QTDIR}/lib64/pkgconfig/qca2.pc
+
  unset USE_ARCH

Revision as of 07:11, 27 December 2008

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

Introduction to Qca2

Project Homepage: Unknown

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=${QT4DIR} &&
make

Install the package:

make install 

Multilib

32Bit

Compile the package:

export USE_ARCH=32 && 
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=${QT4DIR}
make

Install the package

make install &&
unset USE_ARCH

N32

Compile the package:

To do ...

Install the package

To do ...

64Bit

Compile the package:

export USE_ARCH=64 && 
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=${QT4DIR} --libdir=${QT4DIR}/lib64
make

Install the package

make install &&
unset USE_ARCH
Retrieved from "?title=Qca2&oldid=16517"