wok-next rev 20031
Up gdal (2.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 17:04:09 2017 +0200 (2017-10-22) |
parents | f0483f253154 |
children | d28893c091dc |
files | gdal-bin/receipt gdal-datas/receipt gdal-dev/receipt gdal/receipt libgdal/receipt |
line diff
1.1 --- a/gdal-bin/receipt Sun Oct 22 15:52:59 2017 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,22 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="gdal-bin" 1.7 -VERSION="1.9.0" 1.8 -CATEGORY="misc" 1.9 -SHORT_DESC="GDAL Tools." 1.10 -MAINTAINER="erjo@slitaz.org" 1.11 -LICENSE="MIT" 1.12 -WEB_SITE="http://www.gdal.org/" 1.13 -WANTED="gdal" 1.14 - 1.15 -DEPENDS="libgdal" 1.16 -BUILD_DEPENDS="" 1.17 - 1.18 - 1.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 -genpkg_rules() 1.21 -{ 1.22 - mkdir -p $fs/usr 1.23 - cp -a $install/usr/bin $fs/usr 1.24 - rm -f $fs/usr/bin/gdal-config 1.25 -}
2.1 --- a/gdal-datas/receipt Sun Oct 22 15:52:59 2017 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,21 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="gdal-datas" 2.7 -VERSION="1.9.0" 2.8 -CATEGORY="misc" 2.9 -SHORT_DESC="GDAL datas." 2.10 -MAINTAINER="erjo@slitaz.org" 2.11 -LICENSE="MIT" 2.12 -WEB_SITE="http://www.gdal.org/" 2.13 -WANTED="gdal" 2.14 - 2.15 -DEPENDS="libgdal" 2.16 -BUILD_DEPENDS="" 2.17 - 2.18 - 2.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.20 -genpkg_rules() 2.21 -{ 2.22 - mkdir -p $fs/usr/share 2.23 - cp -a $install/usr/share/gdal $fs/usr/share 2.24 -}
3.1 --- a/gdal-dev/receipt Sun Oct 22 15:52:59 2017 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,24 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="gdal-dev" 3.7 -VERSION="1.9.0" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="GDAL development headers." 3.10 -MAINTAINER="erjo@slitaz.org" 3.11 -LICENSE="MIT" 3.12 -WEB_SITE="http://www.gdal.org/" 3.13 -WANTED="gdal" 3.14 - 3.15 -DEPENDS="libgdal" 3.16 -BUILD_DEPENDS="" 3.17 - 3.18 - 3.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.20 -genpkg_rules() 3.21 -{ 3.22 - mkdir -p $fs/usr/bin $fs/usr/lib 3.23 - 3.24 - cp -a $install/usr/include $fs/usr 3.25 - cp -a $install/usr/lib/*.*a $fs/usr/lib 3.26 - cp -a $install/usr/bin/gdal-config $fs/usr/bin 3.27 -}
4.1 --- a/gdal/receipt Sun Oct 22 15:52:59 2017 +0200 4.2 +++ b/gdal/receipt Sun Oct 22 17:04:09 2017 +0200 4.3 @@ -1,18 +1,18 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="gdal" 4.8 -VERSION="1.9.0" 4.9 +VERSION="2.2.2" 4.10 CATEGORY="meta" 4.11 SHORT_DESC="Geospatial Data Abstraction Library." 4.12 MAINTAINER="erjo@slitaz.org" 4.13 LICENSE="MIT" 4.14 WEB_SITE="http://www.gdal.org/" 4.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 4.16 -WGET_URL="http://download.osgeo.org/gdal/$TARBALL" 4.17 +TARBALL="$PACKAGE-$VERSION.tar.xz" 4.18 +WGET_URL="http://download.osgeo.org/gdal/$VERSION/$TARBALL" 4.19 4.20 -DEPENDS="libgdal gdal-bin gdal-datas" 4.21 BUILD_DEPENDS="python-dev postgresql-dev geos-dev proj-dev curl-dev \ 4.22 -swig tiff-dev jasper-dev jpeg-dev" 4.23 +swig tiff-dev jasper-dev jpeg-dev perl-dev" 4.24 +SPLIT="gdal-bin gdal-datas gdal-dev gdal libgdal" 4.25 4.26 # Rules to configure and make the package. 4.27 compile_rules() 4.28 @@ -32,6 +32,37 @@ 4.29 # Rules to gen a SliTaz package suitable for Tazpkg. 4.30 genpkg_rules() 4.31 { 4.32 - mkdir $fs/usr 4.33 - 4.34 + case $PACKAGE in 4.35 + gdal) 4.36 + DEPENDS="libgdal gdal-bin gdal-datas" 4.37 + mkdir $fs/usr 4.38 + ;; 4.39 + gdal-bin) 4.40 + CAT="misc|GDAL Tools." 4.41 + DEPENDS="libgdal" 4.42 + mkdir -p $fs/usr 4.43 + cp -a $install/usr/bin $fs/usr 4.44 + rm -f $fs/usr/bin/gdal-config 4.45 + ;; 4.46 + gdal-datas) 4.47 + CAT="misc|GDAL datas." 4.48 + DEPENDS="libgdal" 4.49 + mkdir -p $fs/usr/share 4.50 + cp -a $install/usr/share/gdal $fs/usr/share 4.51 + ;; 4.52 + gdal-dev) 4.53 + CAT="development|GDAL development headers." 4.54 + DEPENDS="libgdal" 4.55 + mkdir -p $fs/usr/bin $fs/usr/lib 4.56 + cp -a $install/usr/include $fs/usr 4.57 + cp -a $install/usr/lib/*.*a $fs/usr/lib 4.58 + cp -a $install/usr/bin/gdal-config $fs/usr/bin 4.59 + ;; 4.60 + libgdal) 4.61 + CAT="misc|Geospatial Data Abstraction Library." 4.62 + DEPENDS="geos proj libcurl jasper libpostgresqlclient tiff" 4.63 + mkdir -p $fs/usr/lib 4.64 + cp -a $install/usr/lib/*.so* $fs/usr/lib 4.65 + ;; 4.66 + esac 4.67 }
5.1 --- a/libgdal/receipt Sun Oct 22 15:52:59 2017 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,21 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="libgdal" 5.7 -VERSION="1.9.0" 5.8 -CATEGORY="misc" 5.9 -SHORT_DESC="Geospatial Data Abstraction Library." 5.10 -MAINTAINER="erjo@slitaz.org" 5.11 -LICENSE="MIT" 5.12 -WEB_SITE="http://www.gdal.org/" 5.13 -WANTED="gdal" 5.14 - 5.15 -DEPENDS="geos proj libcurl jasper libpostgresqlclient tiff" 5.16 -BUILD_DEPENDS="" 5.17 - 5.18 - 5.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.20 -genpkg_rules() 5.21 -{ 5.22 - mkdir -p $fs/usr/lib 5.23 - cp -a $install/usr/lib/*.so* $fs/usr/lib 5.24 -}