initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_PROJ
|
||||
bool "proj"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
proj.4 is a standard UNIX filter function which converts
|
||||
geographic longitude and latitude coordinates into cartesian
|
||||
coordinates (and vice versa), and it is a C API for software
|
||||
developers to include coordinate transformation in their own
|
||||
software.
|
||||
|
||||
http://proj4.org/
|
||||
|
||||
comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
@@ -0,0 +1,5 @@
|
||||
# Fetched from http://download.osgeo.org/proj/proj-8.1.1.tar.gz.md5
|
||||
md5 f017fd7d35311b0d65b2cf0503844690 proj-8.1.1.tar.gz
|
||||
# Locally calculated
|
||||
sha256 82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2 proj-8.1.1.tar.gz
|
||||
sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# proj
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROJ_VERSION = 8.1.1
|
||||
PROJ_SITE = http://download.osgeo.org/proj
|
||||
PROJ_LICENSE = MIT
|
||||
PROJ_LICENSE_FILES = COPYING
|
||||
PROJ_INSTALL_STAGING = YES
|
||||
PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite
|
||||
|
||||
PROJ_CFLAGS = $(TARGET_CFLAGS)
|
||||
PROJ_CXXFLAGS = $(TARGET_CXXFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
||||
PROJ_CFLAGS += -O0
|
||||
PROJ_CXXFLAGS += -O0
|
||||
endif
|
||||
|
||||
PROJ_CONF_ENV = \
|
||||
CFLAGS="$(PROJ_CFLAGS)" \
|
||||
CXXFLAGS="$(PROJ_CXXFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
PROJ_DEPENDENCIES += libcurl
|
||||
PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config
|
||||
else
|
||||
PROJ_CONF_OPTS += --without-curl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF),y)
|
||||
PROJ_DEPENDENCIES += tiff
|
||||
PROJ_CONF_OPTS += --enable-tiff
|
||||
else
|
||||
PROJ_CONF_OPTS += --disable-tiff
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user