wok-6.x view proj/receipt @ rev 23398

updated perl-test-mockobject (1.20180705 -> 1.20200122)
author Hans-G?nter Theisgen
date Tue Mar 31 17:30:03 2020 +0100 (2020-03-31)
parents 51a1ebbda768
children 36e78f6fb135
line source
1 # SliTaz package receipt.
3 PACKAGE="proj"
4 VERSION="6.1.0"
5 CATEGORY="misc"
6 SHORT_DESC="Cartographic Projections Library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://proj.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.osgeo.org/proj/$TARBALL"
14 DEPENDS="gcc83-lib-base sqlite"
15 BUILD_DEPENDS="gcc83 libtool sqlite-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/usr/bin
22 export CC=gcc-83
23 export CXX=g++-83
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/share/proj $fs/usr/share
39 }