wok annotate proj/receipt @ rev 24040
Up zstd (1.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 13 17:03:24 2021 +0000 (2021-04-13) |
parents | 4b6d3ac55c10 |
children | 241fb98cab1c |
rev | line source |
---|---|
erjo@11630 | 1 # SliTaz package receipt. |
erjo@11630 | 2 |
erjo@11630 | 3 PACKAGE="proj" |
Hans-G?nter@23447 | 4 VERSION="7.0.0" |
erjo@11630 | 5 CATEGORY="misc" |
erjo@11630 | 6 SHORT_DESC="Cartographic Projections Library." |
erjo@11630 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15375 | 8 LICENSE="MIT" |
Hans-G?nter@21704 | 9 WEB_SITE="https://proj.org/" |
Hans-G?nter@21704 | 10 |
erjo@11630 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11630 | 12 WGET_URL="http://download.osgeo.org/proj/$TARBALL" |
erjo@11630 | 13 |
Hans-G?nter@21704 | 14 DEPENDS="gcc83-lib-base sqlite" |
Hans-G?nter@21704 | 15 BUILD_DEPENDS="gcc83 libtool sqlite-dev" |
erjo@11630 | 16 |
erjo@11630 | 17 # Rules to configure and make the package. |
erjo@11630 | 18 compile_rules() |
erjo@11630 | 19 { |
pascal@15089 | 20 mkdir -p $DESTDIR/usr/bin |
Hans-G?nter@21704 | 21 |
Hans-G?nter@23447 | 22 ./configure \ |
Hans-G?nter@23447 | 23 CC=gcc-83 \ |
Hans-G?nter@23447 | 24 CXX=g++-83 \ |
Hans-G?nter@23447 | 25 --disable-tiff \ |
Hans-G?nter@23447 | 26 --without-curl \ |
Hans-G?nter@23447 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21704 | 28 make && |
Hans-G?nter@21704 | 29 make install |
erjo@11630 | 30 } |
erjo@11630 | 31 |
erjo@11630 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11630 | 33 genpkg_rules() |
erjo@11630 | 34 { |
Hans-G?nter@21704 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@21704 | 36 mkdir -p $fs/usr/share |
erjo@11630 | 37 |
Hans-G?nter@21704 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21704 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21704 | 40 cp -a $install/usr/share/proj $fs/usr/share |
erjo@11630 | 41 } |