wok view proj/receipt @ rev 22352

libcap: include stddef.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 19 11:07:25 2019 +0100 (2019-11-19)
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 }