wok-6.x annotate proj/receipt @ rev 20274

linux: recook
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 18 21:05:50 2018 +0100 (2018-03-18)
parents ea9c0883605a
children 4b6d3ac55c10
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 }