generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
19
package/libgeos/Config.in
Normal file
19
package/libgeos/Config.in
Normal file
@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_LIBGEOS
|
||||
bool "libgeos"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
|
||||
help
|
||||
GEOS (Geometry Engine - Open Source) is a C++ port of the
|
||||
JTS Topology Suite (JTS). It aims to contain the complete
|
||||
functionality of JTS in C++. This includes all the OpenGIS
|
||||
Simple Features for SQL spatial predicate functions and
|
||||
spatial operators, as well as specific JTS enhanced functions.
|
||||
|
||||
https://trac.osgeo.org/geos
|
||||
|
||||
comment "libgeos needs a toolchain w/ C++, wchar, threads not binutils bug 27597"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
|
||||
3
package/libgeos/libgeos.hash
Normal file
3
package/libgeos/libgeos.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 79ab8cabf4aa8604d161557b52e3e4d84575acdc0d08cb09ab3f7aaefa4d858a geos-3.11.0.tar.bz2
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING
|
||||
32
package/libgeos/libgeos.mk
Normal file
32
package/libgeos/libgeos.mk
Normal file
@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# libgeos
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBGEOS_VERSION = 3.11.0
|
||||
LIBGEOS_SITE = http://download.osgeo.org/geos
|
||||
LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2
|
||||
LIBGEOS_LICENSE = LGPL-2.1
|
||||
LIBGEOS_LICENSE_FILES = COPYING
|
||||
LIBGEOS_INSTALL_STAGING = YES
|
||||
LIBGEOS_CONFIG_SCRIPTS = geos-config
|
||||
LIBGEOS_CONF_OPTS = -DBUILD_BENCHMARKS=OFF
|
||||
|
||||
LIBGEOS_CXXFLAGS = $(TARGET_CXXCFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
||||
LIBGEOS_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_arm)$(BR2_armeb),y)
|
||||
LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_or1k),y)
|
||||
LIBGEOS_CXXFLAGS += -mcmodel=large
|
||||
endif
|
||||
|
||||
LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)"
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user