25 lines
908 B
Bash
25 lines
908 B
Bash
TERMUX_PKG_HOMEPAGE=http://www.gnustep.org/
|
|
TERMUX_PKG_DESCRIPTION="The GNUstep Objective-C runtime"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.1
|
|
_ROBIN_MAP_COMMIT=757de829927489bee55ab02147484850c687b620
|
|
TERMUX_PKG_SRCURL=(https://github.com/gnustep/libobjc2/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
https://github.com/Tessil/robin-map/archive/${_ROBIN_MAP_COMMIT:0:7}.tar.gz)
|
|
TERMUX_PKG_SHA256=(78fc3711db14bf863040ae98f7bdca08f41623ebeaf7efaea7dd49a38b5f054c
|
|
0abd2a272947d1d403ce7467e75aae5bdcfe839f4fc8d513ba5bfe170d5f2057)
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DGNUSTEP_CONFIG=OFF
|
|
-DTESTS=OFF
|
|
"
|
|
|
|
termux_step_post_get_source() {
|
|
mv robin-map-${_ROBIN_MAP_COMMIT}/* third_party/robin-map/
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
sed -i -e 's|@CMAKE_CXX_COMPILER@|'$CXX'|g' \
|
|
"$TERMUX_PKG_SRCDIR"/CMakeLists.txt
|
|
}
|