Difference between revisions of "CMake"
From CBLFS
Jump to navigationJump to searchLine 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.cmake.org/files/ | + | | http://www.cmake.org/files/v{{CMake-Version2}}/cmake-{{CMake-Version}}.tar.gz |
|} | |} | ||
Line 13: | Line 13: | ||
Compile the package: | Compile the package: | ||
− | ./bootstrap --prefix=/usr \ | + | ./bootstrap --prefix=/usr \ |
− | --docdir=/share/doc/cmake- | + | --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ |
--mandir=/share/man && | --mandir=/share/man && | ||
make | make | ||
Line 24: | Line 24: | ||
== Multilib == | == Multilib == | ||
'''''This package does not provide any libraries so only one installation is needed.''''' | '''''This package does not provide any libraries so only one installation is needed.''''' | ||
+ | |||
=== 32Bit === | === 32Bit === | ||
Line 30: | Line 31: | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | ||
./bootstrap --prefix=/usr \ | ./bootstrap --prefix=/usr \ | ||
− | --docdir=/share/doc/cmake- | + | --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ |
--mandir=/share/man && | --mandir=/share/man && | ||
make | make | ||
Line 44: | Line 45: | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ | ||
./bootstrap --prefix=/usr \ | ./bootstrap --prefix=/usr \ | ||
− | --docdir=/share/doc/cmake- | + | --docdir=/share/doc/cmake-{{CMake-Version}}--datadir=/share/cmake-{{CMake-Version}} \ |
--mandir=/share/man && | --mandir=/share/man && | ||
make | make | ||
Line 58: | Line 59: | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
./bootstrap --prefix=/usr \ | ./bootstrap --prefix=/usr \ | ||
− | --docdir=/share/doc/cmake- | + | --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ |
--mandir=/share/man && | --mandir=/share/man && | ||
make | make |
Revision as of 14:19, 17 December 2006
Download Source: | http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz |
---|
Dependencies
Non-Multilib
Compile the package:
./bootstrap --prefix=/usr \ --docdir=/share/doc/cmake-2.8.4 --datadir=/share/cmake-2.8.4 \ --mandir=/share/man && make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./bootstrap --prefix=/usr \ --docdir=/share/doc/cmake-2.8.4 --datadir=/share/cmake-2.8.4 \ --mandir=/share/man && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ ./bootstrap --prefix=/usr \ --docdir=/share/doc/cmake-2.8.4--datadir=/share/cmake-2.8.4 \ --mandir=/share/man && make
Install the package
make install
64Bit
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./bootstrap --prefix=/usr \ --docdir=/share/doc/cmake-2.8.4 --datadir=/share/cmake-2.8.4 \ --mandir=/share/man && make
Install the package
make install