wok-next annotate proj/receipt @ rev 16686
trigger slitaz-dev-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 19 17:35:09 2014 +0000 (2014-05-19) |
parents | ea9c0883605a |
children | 9278a60d6895 |
rev | line source |
---|---|
erjo@11630 | 1 # SliTaz package receipt. |
erjo@11630 | 2 |
erjo@11630 | 3 PACKAGE="proj" |
erjo@11630 | 4 VERSION="4.7.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" |
erjo@11630 | 9 WEB_SITE="http://trac.osgeo.org/proj/" |
erjo@11630 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@11630 | 11 WGET_URL="http://download.osgeo.org/proj/$TARBALL" |
erjo@11630 | 12 |
erjo@11630 | 13 DEPENDS="" |
erjo@11630 | 14 BUILD_DEPENDS="" |
erjo@11630 | 15 |
erjo@11630 | 16 # Rules to configure and make the package. |
erjo@11630 | 17 compile_rules() |
erjo@11630 | 18 { |
pascal@15089 | 19 mkdir -p $DESTDIR/usr/bin |
erjo@11630 | 20 ./configure $CONFIGURE_ARGS && make && make install |
erjo@11630 | 21 } |
erjo@11630 | 22 |
erjo@11630 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11630 | 24 genpkg_rules() |
erjo@11630 | 25 { |
erjo@11630 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
erjo@11630 | 27 |
erjo@11630 | 28 cp -a $install/usr/bin $fs/usr |
erjo@11630 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@11630 | 30 cp -a $install/usr/share/proj $fs/usr/share |
erjo@11630 | 31 |
erjo@11630 | 32 } |