wok annotate tiff/receipt @ rev 24823

updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20)
author Hans-G?nter Theisgen
date Wed Mar 23 16:41:04 2022 +0100 (2022-03-23)
parents 62f4b17a0949
children 90c2e9095591
rev   line source
pankso@23 1 # SliTaz package receipt.
pankso@23 2
pankso@23 3 PACKAGE="tiff"
Hans-G?nter@23698 4 VERSION="4.1.0"
pankso@23 5 CATEGORY="x-window"
Hans-G?nter@22029 6 SHORT_DESC="A library of functions for manipulating TIFF format image files."
pankso@23 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="MIT"
Hans-G?nter@22029 9 WEB_SITE="http://www.libtiff.org/"
Hans-G?nter@22029 10
pankso@23 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23698 12 WGET_URL="https://download.osgeo.org/libtiff/$TARBALL"
Hans-G?nter@22029 13
Hans-G?nter@22029 14 DEPENDS="gcc-lib-base jpeg zlib"
Hans-G?nter@22029 15 BUILD_DEPENDS="jbigkit jpeg-dev zlib-dev"
Hans-G?nter@22029 16
pankso@16058 17 HOST_ARCH="i486 arm"
pascal@15600 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 22 sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pankso@23 25 # Rules to configure and make the package.
pankso@23 26 compile_rules()
pankso@23 27 {
al@18663 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22029 29 make &&
Hans-G?nter@22029 30 make install
pankso@23 31 }
pankso@23 32
pankso@23 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@23 34 genpkg_rules()
pankso@23 35 {
al@18663 36 mkdir -p $fs/usr/lib
Hans-G?nter@23698 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@23 38 }