Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - SUMMARY = "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."
 - HOMEPAGE = "https://postgis.net/"
 - LICENSE = "GPL-v2"
 - INSANE_SKIP = "configure-unsafe"
 - PR = "r0"
 - SRC_URI = "git://github.com/postgis/postgis.git;branch=stable-3.2;protocol=https \
 - file://0001-do-not-use-xml2-config.patch"
 - SRCREV = "9e2f4f9f05213a29c92b94459db9a02eca0e02ac"
 - S = "${WORKDIR}/git"
 - B = "${WORKDIR}/build"
 - DEPENDS += "proj json-c libxml2 geos postgresql gettext qemu-native libxslt pcre bash"
 - EXTRA_OECONF += "\
 - --without-raster \
 - --without-protobuf \
 - --with-pgconfig=${STAGING_BINDIR_CROSS}/pg-config"
 - CPPFLAGS = "-I${WORKDIR}/recipe-sysroot/usr/include"
 - CMAKE_SYSROOT = "${WORKDIR}/recipe-sysroot"
 - inherit autotools pkgconfig gettext qemu
 - do_compile:prepend () {
 - (cd ${S} && find . -type f -exec install -Dm 755 "{}" "${B}/{}" \;)
 - }
 - do_configure () {
 - set -x
 - export CPPFLAGS
 - install -d ${D}${includedir}
 - install -d ${WORKDIR}/recipe-sysroot/usr/include
 - install -d ${S}/build-aux/
 - install -m 0755 ${STAGING_DIR_HOST}/usr/share/gettext/config.rpath ${S}/build-aux/config.rpath
 - cd ${S}
 - ${S}/autogen.sh
 - autotools_do_configure --prefix=${WORKDIR}/recipe-sysroot/usr
 - }
 - CFLAGS += "-DPOSTGIS_DEBUG_LEVEL=0"
 - FILES_${PN} += "${libdir}/postgresql/lib/"
 - FILES_${PN} += "${datadir}"
 - FILES_${PN} += "${datadir}/postgresql/contrib/postgis-3.2"
 - FILES_${PN} += "${datadir}/postgresql/extension"
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment