wok-6.x annotate gdal/receipt @ rev 25088
modified recipe for lightdm
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 09:31:48 2022 +0100 (2022-06-18) |
parents | a3c45ab9082e |
children |
rev | line source |
---|---|
pascal@11640 | 1 # SliTaz package receipt. |
pascal@11640 | 2 |
pascal@11640 | 3 PACKAGE="gdal" |
pascal@11640 | 4 VERSION="1.9.0" |
erjo@11646 | 5 CATEGORY="meta" |
pascal@11640 | 6 SHORT_DESC="Geospatial Data Abstraction Library." |
pascal@11640 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15215 | 8 LICENSE="MIT" |
pascal@20669 | 9 WEB_SITE="https://www.gdal.org/" |
pascal@11640 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24973 | 11 WGET_URL="http://download.osgeo.org/gdal/old_releases/$TARBALL" |
pascal@11640 | 12 |
erjo@11646 | 13 DEPENDS="libgdal gdal-bin gdal-datas" |
erjo@11646 | 14 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \ |
pascal@20585 | 15 swig tiff-dev jasper-dev jpeg-dev file" |
pascal@11640 | 16 |
pascal@24083 | 17 current_version() |
pascal@24083 | 18 { |
pascal@24083 | 19 wget -O - $(dirname $WGET_URL)/$(wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24083 | 20 sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24083 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24083 | 22 } |
pascal@24083 | 23 |
pascal@11640 | 24 # Rules to configure and make the package. |
pascal@11640 | 25 compile_rules() |
pascal@11640 | 26 { |
erjo@11646 | 27 ./configure --sysconfdir=/etc \ |
erjo@11646 | 28 --localstatedir=/var \ |
erjo@11646 | 29 --datadir=/usr/share/gdal \ |
erjo@11646 | 30 --with-threads \ |
erjo@11646 | 31 --with-perl \ |
erjo@11646 | 32 --with-python \ |
erjo@11646 | 33 --with-geos \ |
erjo@11646 | 34 --with-sqlite3=no \ |
pascal@15062 | 35 --with-ogr 2>&1 | grep -v config.rpath && |
pascal@15062 | 36 make && make install BINDINGS="perl python" |
pascal@11640 | 37 } |
pascal@11640 | 38 |
pascal@11640 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11640 | 40 genpkg_rules() |
pascal@11640 | 41 { |
erjo@11646 | 42 mkdir $fs/usr |
erjo@11646 | 43 |
pascal@11640 | 44 } |