mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 04:36:40 +00:00
cmake: update to cmake-3.0.0, fix installation
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3f9dd58878
commit
b30c6934aa
@ -17,12 +17,12 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="cmake"
|
PKG_NAME="cmake"
|
||||||
PKG_VERSION="2.8.12.1"
|
PKG_VERSION="3.0.0"
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="BSD"
|
PKG_LICENSE="BSD"
|
||||||
PKG_SITE="http://www.cmake.org/"
|
PKG_SITE="http://www.cmake.org/"
|
||||||
PKG_URL="http://www.cmake.org/files/v2.8/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://www.cmake.org/files/v3.0/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS_HOST="ccache:host"
|
PKG_DEPENDS_HOST="ccache:host"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="toolchain/devel"
|
PKG_SECTION="toolchain/devel"
|
||||||
@ -33,15 +33,13 @@ PKG_IS_ADDON="no"
|
|||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
configure_host() {
|
configure_host() {
|
||||||
../configure --no-qt-gui -- -DBUILD_CursesDialog=0
|
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--no-qt-gui \
|
||||||
|
-- \
|
||||||
|
-DBUILD_CursesDialog=0
|
||||||
}
|
}
|
||||||
|
|
||||||
makeinstall_host() {
|
post_makeinstall_host() {
|
||||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
|
||||||
cp -P bin/cmake $ROOT/$TOOLCHAIN/bin
|
|
||||||
cp -P bin/cpack $ROOT/$TOOLCHAIN/bin
|
|
||||||
cp -P bin/ctest $ROOT/$TOOLCHAIN/bin
|
|
||||||
|
|
||||||
mkdir -p $ROOT/$TOOLCHAIN/etc
|
mkdir -p $ROOT/$TOOLCHAIN/etc
|
||||||
|
|
||||||
cat >$ROOT/$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf <<EOF
|
cat >$ROOT/$TOOLCHAIN/etc/cmake-$TARGET_NAME.conf <<EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user