wok view tiff/receipt @ rev 25102

Use archive.org for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 21 16:00:20 2022 +0000 (2022-06-21)
parents 62f4b17a0949
children 90c2e9095591
line source
1 # SliTaz package receipt.
3 PACKAGE="tiff"
4 VERSION="4.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A library of functions for manipulating TIFF format image files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.libtiff.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.osgeo.org/libtiff/$TARBALL"
14 DEPENDS="gcc-lib-base jpeg zlib"
15 BUILD_DEPENDS="jbigkit jpeg-dev zlib-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }