wok annotate libvips/receipt @ rev 23469

linux-zram: autostart (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 05 11:03:33 2020 +0200 (2020-04-05)
parents 1daf24fb0842
children 5ea0ce1cecc0
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
yuripourre@18993 22 # Rules to configure and make the package.
yuripourre@18993 23 compile_rules()
yuripourre@18993 24 {
Hans-G?nter@23118 25 ./autogen.sh \
Hans-G?nter@23118 26 --prefix=/usr \
Hans-G?nter@23118 27 --enable-gtk-doc=no &&
yuripourre@18993 28 make &&
yuripourre@18993 29 make DESTDIR=$DESTDIR install
yuripourre@18993 30 }
yuripourre@18993 31
yuripourre@18993 32 # Rules to gen a SliTaz package suitable for Tazpkg.
yuripourre@18993 33 genpkg_rules()
yuripourre@18993 34 {
yuripourre@18993 35 mkdir -p $fs/usr/lib
Hans-G?nter@23118 36
Hans-G?nter@23118 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23118 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@18993 39 }