mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
42 lines
2.1 KiB
Makefile
42 lines
2.1 KiB
Makefile
################################################################################
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
#
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
PKG_NAME="cmake"
|
|
PKG_VERSION="3.7.2"
|
|
PKG_SHA256="dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="BSD"
|
|
PKG_SITE="http://www.cmake.org/"
|
|
PKG_URL="http://www.cmake.org/files/v3.7/$PKG_NAME-$PKG_VERSION.tar.gz"
|
|
PKG_DEPENDS_HOST="ccache:host openssl:host"
|
|
PKG_SECTION="toolchain/devel"
|
|
PKG_SHORTDESC="cmake: A cross-platform, open-source make system"
|
|
PKG_LONGDESC="CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. CMake is quite sophisticated: it is possible to support complex environments requiring system configuration, preprocessor generation, code generation, and template instantiation."
|
|
PKG_TOOLCHAIN="configure"
|
|
|
|
configure_host() {
|
|
../configure --prefix=$TOOLCHAIN \
|
|
--no-qt-gui --no-system-libs \
|
|
-- \
|
|
-DCMAKE_C_FLAGS="-O2 -Wall -pipe -Wno-format-security" \
|
|
-DCMAKE_CXX_FLAGS="-O2 -Wall -pipe -Wno-format-security" \
|
|
-DCMAKE_EXE_LINKER_FLAGS="$HOST_LDFLAGS" \
|
|
-DCMAKE_USE_OPENSSL=ON \
|
|
-DBUILD_CursesDialog=0
|
|
}
|