wok view proj/receipt @ rev 25088
modified recipe for lightdm
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 09:31:48 2022 +0100 (2022-06-18) |
parents | 36e78f6fb135 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="proj"
4 VERSION="7.0.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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/RC/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/usr/bin
29 ./configure \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 --disable-tiff \
33 --without-curl \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/proj $fs/usr/share
48 }