Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "PROJ.4 - Cartographic Projections library" |
| 2 | HOMEPAGE = "http://trac.osgeo.org/proj/" |
| 3 | SECTION = "libs" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff" |
| 6 | DEPENDS = "sqlite3 sqlite3-native" |
| 7 | |
| 8 | SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz" |
Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame^] | 9 | SRC_URI[sha256sum] = "003cd4010e52bb5eb8f7de1c143753aa830c8902b6ed01209f294846e40e6d39" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 10 | |
| 11 | inherit cmake lib_package |
| 12 | |
| 13 | EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DSQLITE3_LIBRARY:STRING=sqlite3" |
| 14 | |
| 15 | FILES:${PN} += "${datadir}/proj" |
| 16 | |
| 17 | BBCLASSEXTEND = "native" |
| 18 | |
| 19 | PACKAGECONFIG ?= "curl shared" |
| 20 | PACKAGECONFIG:append:class-native = " apps" |
| 21 | |
| 22 | PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF" |
| 23 | PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl" |
| 24 | PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," |
| 25 | PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff" |