Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

22
package/postgis/Config.in Normal file
View File

@@ -0,0 +1,22 @@
config BR2_PACKAGE_POSTGIS
bool "postgis"
depends on BR2_PACKAGE_POSTGRESQL_FULL
depends on BR2_INSTALL_LIBSTDCPP # libgeos, proj
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libgeos
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # proj
depends on BR2_USE_WCHAR # libgeos, proj
select BR2_PACKAGE_LIBGEOS
select BR2_PACKAGE_PROJ
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
PostGIS is a spatial database extender for PostgreSQL
object-relational database. It adds support for
geographic objects allowing location queries
to be run in SQL.
https://postgis.net/
comment "postgis needs a toolchain w/ C++, NPTL, wchar, gcc >= 7"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 ed8dc6679f1e06f7b113592b04cde2a7e00f1b1e681294c8ca2204058990cec6 postgis-3.6.4.tar.gz
sha256 81749eea887e78402c9b85896cd629b155bc29256927f818f01001f038146391 LICENSE.TXT

View File

@@ -0,0 +1,47 @@
################################################################################
#
# postgis
#
################################################################################
POSTGIS_VERSION = 3.6.4
POSTGIS_SITE = https://download.osgeo.org/postgis/source
# parallel build issues
POSTGIS_MAKE = $(MAKE1)
POSTGIS_LICENSE = GPL-2.0+ (PostGIS), BSD-3-Clause (xsl), GPL-2.0+ or LGPL-3.0+ (SFCGAL), MIT, Apache-2.0, ISC, BSL-1.0, CC-BY-SA-3.0
POSTGIS_LICENSE_FILES = LICENSE.TXT
POSTGIS_CPE_ID_VENDOR = postgis
POSTGIS_DEPENDENCIES = postgresql libgeos proj libxml2
POSTGIS_CONF_OPTS += \
--with-pgconfig=$(STAGING_DIR)/usr/bin/pg_config \
--with-geosconfig=$(STAGING_DIR)/usr/bin/geos-config \
--with-xml2config=$(STAGING_DIR)/usr/bin/xml2-config
ifeq ($(BR2_PACKAGE_JSON_C),y)
POSTGIS_DEPENDENCIES += json-c
POSTGIS_CONF_OPTS += --with-json
else
POSTGIS_CONF_OPTS += --without-json
endif
ifeq ($(BR2_PACKAGE_GDAL),y)
POSTGIS_DEPENDENCIES += gdal
POSTGIS_CONF_OPTS += --with-raster --with-gdalconfig=$(STAGING_DIR)/usr/bin/gdal-config
else
POSTGIS_CONF_OPTS += --without-raster
endif
ifeq ($(BR2_PACKAGE_PCRE2),y)
POSTGIS_DEPENDENCIES += pcre2
endif
ifeq ($(BR2_PACKAGE_PROTOBUF_C),y)
POSTGIS_DEPENDENCIES += protobuf-c
POSTGIS_CONF_OPTS += --with-protobuf
else
POSTGIS_CONF_OPTS += --without-protobuf
endif
$(eval $(autotools-package))