wok-next annotate libvips/receipt @ rev 20364
Up palemoon (27.6.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 24 05:32:16 2017 +0100 (2017-11-24) |
parents | a44bc8005b6b |
children | dd145c435e4b |
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" |
yuripourre@18993 | 6 LICENSE="LGPL2.1" |
yuripourre@18993 | 7 SHORT_DESC="An image processing library." |
yuripourre@18993 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@18994 | 9 TARBALL="vips-$VERSION.tar.gz" |
yuripourre@18993 | 10 WEB_SITE="http://www.vips.ecs.soton.ac.uk/" |
yuripourre@18994 | 11 WGET_URL="$WEB_SITE/supported/${VERSION%.*}/$TARBALL" |
yuripourre@18993 | 12 TAGS="image" |
pascal@20249 | 13 |
yuripourre@18994 | 14 BUILD_DEPENDS="wget cacerts pkg-config gtk-doc libtool swig \ |
yuripourre@18994 | 15 gobject-introspection-dev fftw-dev lcms-dev libpng-dev jpeg-dev \ |
pascal@20249 | 16 imagemagick-dev tiff-dev zlib-dev libexif-dev gettext" |
pascal@20249 | 17 SPLIT="libvips-dev" |
yuripourre@18993 | 18 |
yuripourre@18993 | 19 # Rules to configure and make the package. |
yuripourre@18993 | 20 compile_rules() |
yuripourre@18993 | 21 { |
yuripourre@18993 | 22 ./bootstrap.sh && |
yuripourre@18994 | 23 autoreconf && |
yuripourre@18994 | 24 ./configure --prefix=/usr \ |
yuripourre@18994 | 25 --enable-gtk-doc=no && |
yuripourre@18993 | 26 make && |
yuripourre@18993 | 27 make DESTDIR=$DESTDIR install |
yuripourre@18993 | 28 } |
yuripourre@18993 | 29 |
yuripourre@18993 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@18993 | 31 genpkg_rules() |
yuripourre@18993 | 32 { |
pascal@20249 | 33 case $PACKAGE in |
pascal@20249 | 34 libvips) |
pascal@20249 | 35 DEPENDS="fftw lcms pango libpng jpeg imagemagick tiff zlib \ |
pascal@20249 | 36 glib libexif openexr liboil" |
pascal@20249 | 37 mkdir -p $fs/usr/lib |
pascal@20249 | 38 cp -a $install/usr/bin $fs/usr |
pascal@20249 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20249 | 40 ;; |
pascal@20249 | 41 libvips-dev) |
pascal@20249 | 42 CAT="development|devel files" |
pascal@20249 | 43 DEPENDS="libvips" |
pascal@20249 | 44 mkdir -p $fs/usr/lib $fs/usr/include |
pascal@20249 | 45 cp -a $install/usr/lib/*.a $fs/usr/lib |
pascal@20249 | 46 cp -a $install/usr/lib/*.la $fs/usr/lib |
pascal@20249 | 47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@20249 | 48 cp -a $install/usr/include $fs/usr |
pascal@20249 | 49 ;; |
pascal@20249 | 50 esac |
yuripourre@18993 | 51 } |