mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-10 11:50:52 +00:00
Seems like upstream re-tagged their release just moments after making a release and it being picked up by our auto updator.
22 lines
925 B
Bash
22 lines
925 B
Bash
TERMUX_PKG_HOMEPAGE=https://cmake-python-distributions.readthedocs.io/
|
|
TERMUX_PKG_DESCRIPTION="Python wrapper for CMake"
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="4.2.1"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL="https://github.com/scikit-build/cmake-python-distributions/archive/refs/tags/$TERMUX_PKG_VERSION.tar.gz"
|
|
TERMUX_PKG_SHA256=7f1e215ca5887582a782fad025a359724081d443e5ec119b6f3a3aa039e5939e
|
|
TERMUX_PKG_DEPENDS="cmake, cmake-curses-gui, python, python-pip"
|
|
TERMUX_PKG_SETUP_PYTHON=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_configure() {
|
|
termux_setup_cmake
|
|
# prevent any downloading or compiling of CMake source code,
|
|
# but allow the normal installation of all other files
|
|
mkdir -p empty
|
|
echo 'cmake_minimum_required(VERSION 4.0)' > CMakeLists.txt
|
|
echo 'install(DIRECTORY empty DESTINATION "${CMAKE_INSTALL_PREFIX}")' >> CMakeLists.txt
|
|
}
|