Initial Commit
- initial default booting image
This commit is contained in:
32
package/proj/Config.in
Normal file
32
package/proj/Config.in
Normal file
@@ -0,0 +1,32 @@
|
||||
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_NPTL
|
||||
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/
|
||||
|
||||
if BR2_PACKAGE_PROJ
|
||||
|
||||
config BR2_PACKAGE_PROJ_APPS
|
||||
bool "build apps"
|
||||
select BR2_PACKAGE_LIBCURL
|
||||
help
|
||||
Build and install proj command line apps. Those command line
|
||||
applications are: cct, cs2cs, geod, gie, invgeod, invproj,
|
||||
proj, projinfo, projsync.
|
||||
|
||||
endif
|
||||
|
||||
comment "proj needs a toolchain w/ C++, gcc >= 4.7, NPTL, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
|
||||
5
package/proj/proj.hash
Normal file
5
package/proj/proj.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Fetched from https://download.osgeo.org/proj/proj-9.8.0.tar.gz.md5
|
||||
md5 f04335154621e9ce9a5800ea08c8d96a proj-9.8.0.tar.gz
|
||||
# Locally calculated
|
||||
sha256 a8b493b00cf4d08b712b9e063ed5e53e2be90fcde46770e9dbd773341f378f43 proj-9.8.0.tar.gz
|
||||
sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING
|
||||
41
package/proj/proj.mk
Normal file
41
package/proj/proj.mk
Normal file
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# proj
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PROJ_VERSION = 9.8.0
|
||||
PROJ_SITE = https://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_OPTS = \
|
||||
-DBUILD_APPS=$(if $(BR2_PACKAGE_PROJ_APPS),ON,OFF) \
|
||||
-DCMAKE_C_FLAGS="$(PROJ_CFLAGS)" \
|
||||
-DCMAKE_CXX_FLAGS="$(PROJ_CXXFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
PROJ_DEPENDENCIES += libcurl
|
||||
PROJ_CONF_OPTS += -DENABLE_CURL=ON
|
||||
else
|
||||
PROJ_CONF_OPTS += -DENABLE_CURL=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TIFF),y)
|
||||
PROJ_DEPENDENCIES += tiff
|
||||
PROJ_CONF_OPTS += -DENABLE_TIFF=ON
|
||||
else
|
||||
PROJ_CONF_OPTS += -DENABLE_TIFF=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user