Difference between revisions of "Qca2"

From CBLFS
Jump to navigationJump to search
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| http://delta.affinix.com/download/qca/{{Qca-Version2}}/qca-{{Qca-Version}}.tar.bz2
 
| http://delta.affinix.com/download/qca/{{Qca-Version2}}/qca-{{Qca-Version}}.tar.bz2
 
|}
 
|}
 +
 +
{{Blank-Package-Introduction}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 10: 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 31: 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 QMAKESPEC=linux-g++-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 QMAKESPEC
  
 
=== N32 ===
 
=== N32 ===
 +
 +
Todo
  
 
=== 64Bit ===
 
=== 64Bit ===
  
  mkdir -v build &&
+
Compile the package:
cd build &&
+
 
  USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
+
  export USE_ARCH=64 QMAKESPEC=linux-g++-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 QMAKESPEC
 +
 
 +
[[Category:Network Applications]]

Latest revision as of 13:15, 13 September 2009

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 QMAKESPEC=linux-g++-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 QMAKESPEC

N32

Todo

64Bit

Compile the package:

export USE_ARCH=64 QMAKESPEC=linux-g++-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 QMAKESPEC
Retrieved from "?title=Qca2&oldid=19193"