wok-next annotate libvips/receipt @ rev 21174

shaarli: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:02:11 2019 +0200 (2019-04-14)
parents 75632eca5b07
children c9a66d0294e8
rev   line source
pascal@20249 1 # SliTaz package receipt v2.
yuripourre@18993 2
yuripourre@18993 3 PACKAGE="libvips"
yuripourre@18994 4 VERSION="7.42.3"
yuripourre@18993 5 CATEGORY="utilities"
al@20595 6 SHORT_DESC="An image processing library"
al@20595 7 MAINTAINER="yuripourre@gmail.com"
yuripourre@18993 8 LICENSE="LGPL2.1"
al@21041 9 WEB_SITE="https://jcupitt.github.io/libvips/"
al@20595 10
yuripourre@18994 11 TARBALL="vips-$VERSION.tar.gz"
al@21041 12 WGET_URL="$WEB_SITE/supported/${VERSION%.*}/$TARBALL" # FIXME
pascal@20249 13
al@20513 14 BUILD_DEPENDS="gtk-doc libtool swig \
al@21078 15 gobject-introspection-dev fftw-dev lcms-dev libpng-dev jpeg-dev \
al@21020 16 imagemagick-dev tiff-dev zlib-dev libexif-dev gettext-dev"
al@21020 17 SPLIT="$PACKAGE-dev"
yuripourre@18993 18
al@20595 19 compile_rules() {
yuripourre@18993 20 ./bootstrap.sh &&
al@20595 21 autoreconf &&
al@20595 22 ./configure \
al@20595 23 --enable-gtk-doc=no &&
al@20595 24 fix libtool &&
yuripourre@18993 25 make &&
al@21020 26 make DESTDIR=$install install
yuripourre@18993 27 }
yuripourre@18993 28
al@20595 29 genpkg_rules() {
pascal@20249 30 case $PACKAGE in
al@20595 31 libvips)
al@20595 32 copy @std
al@21143 33 DEPENDS="fftw liblcms pango libpng jpeg imagemagick libtiff zlib \
pascal@20249 34 glib libexif openexr liboil"
al@20595 35 TAGS="image"
al@20595 36 ;;
al@20595 37 *-dev)
al@20595 38 copy @dev
al@20595 39 ;;
pascal@20249 40 esac
yuripourre@18993 41 }