wok annotate libvips/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
yuripourre@18993 1 # SliTaz package receipt.
yuripourre@18993 2
yuripourre@18993 3 PACKAGE="libvips"
Hans-G?nter@24848 4 VERSION="8.12.2"
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@24848 11 REPOLOGY="vips"
Hans-G?nter@23118 12
Hans-G?nter@24848 13 SUGGESTED="libvips-lang"
yuripourre@18994 14 TARBALL="vips-$VERSION.tar.gz"
Hans-G?nter@24848 15 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
Hans-G?nter@23118 16
Hans-G?nter@23118 17 DEPENDS="fftw glib imagemagick jpeg lcms libexif liboil libpng
Hans-G?nter@23118 18 openexr pango tiff zlib"
Hans-G?nter@23118 19 BUILD_DEPENDS="cacerts expat-dev fftw-dev file findutils
Hans-G?nter@23118 20 gobject-introspection-dev gtk-doc imagemagick-dev jpeg-dev
Hans-G?nter@23118 21 lcms-dev libexif-dev libpng-dev libtool pkg-config swig
Hans-G?nter@23118 22 tiff-dev zlib-dev"
yuripourre@18993 23
pascal@24055 24 current_version()
pascal@24055 25 {
pascal@24055 26 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 27 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 28 }
pascal@24055 29
yuripourre@18993 30 # Rules to configure and make the package.
yuripourre@18993 31 compile_rules()
yuripourre@18993 32 {
Hans-G?nter@23118 33 ./autogen.sh \
Hans-G?nter@23118 34 --prefix=/usr \
Hans-G?nter@23118 35 --enable-gtk-doc=no &&
yuripourre@18993 36 make &&
Hans-G?nter@24848 37 make install DESTDIR=$DESTDIR
yuripourre@18993 38 }
yuripourre@18993 39
yuripourre@18993 40 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18993 41 genpkg_rules()
yuripourre@18993 42 {
yuripourre@18993 43 mkdir -p $fs/usr/lib
Hans-G?nter@23118 44
Hans-G?nter@23118 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23118 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@24848 47 cook_copy_folders bin
Hans-G?nter@24848 48 cook_copy_files *.so*
yuripourre@18993 49 }