wok annotate libvips/receipt @ rev 24371

updated bird (2.0.7 -> 2.0.8)
author Hans-G?nter Theisgen
date Sat Feb 05 15:01:57 2022 +0100 (2022-02-05)
parents e6b1efdc1eea
children c467c00d68dd
rev   line source
yuripourre@18993 1 # SliTaz package receipt.
yuripourre@18993 2
yuripourre@18993 3 PACKAGE="libvips"
Hans-G?nter@23118 4 VERSION="8.9.1"
yuripourre@18993 5 CATEGORY="utilities"
Hans-G?nter@23118 6 TAGS="image"
yuripourre@18993 7 SHORT_DESC="An image processing library."
yuripourre@18993 8 MAINTAINER="yuripourre@gmail.com"
Hans-G?nter@23118 9 LICENSE="LGPL2.1"
Hans-G?nter@23118 10 WEB_SITE="https://libvips.github.io/libvips/"
Hans-G?nter@23118 11
yuripourre@18994 12 TARBALL="vips-$VERSION.tar.gz"
pascal@21124 13 WGET_URL="https://github.com/libvips/libvips/archive/v$VERSION.tar.gz"
Hans-G?nter@23118 14
Hans-G?nter@23118 15 DEPENDS="fftw glib imagemagick jpeg lcms libexif liboil libpng
Hans-G?nter@23118 16 openexr pango tiff zlib"
Hans-G?nter@23118 17 BUILD_DEPENDS="cacerts expat-dev fftw-dev file findutils
Hans-G?nter@23118 18 gobject-introspection-dev gtk-doc imagemagick-dev jpeg-dev
Hans-G?nter@23118 19 lcms-dev libexif-dev libpng-dev libtool pkg-config swig
Hans-G?nter@23118 20 tiff-dev zlib-dev"
yuripourre@18993 21
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24055 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 26 }
pascal@24055 27
yuripourre@18993 28 # Rules to configure and make the package.
yuripourre@18993 29 compile_rules()
yuripourre@18993 30 {
Hans-G?nter@23118 31 ./autogen.sh \
Hans-G?nter@23118 32 --prefix=/usr \
Hans-G?nter@23118 33 --enable-gtk-doc=no &&
yuripourre@18993 34 make &&
yuripourre@18993 35 make DESTDIR=$DESTDIR install
yuripourre@18993 36 }
yuripourre@18993 37
yuripourre@18993 38 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18993 39 genpkg_rules()
yuripourre@18993 40 {
yuripourre@18993 41 mkdir -p $fs/usr/lib
Hans-G?nter@23118 42
Hans-G?nter@23118 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23118 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@18993 45 }