wok-next view libvips/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
parents | a44bc8005b6b |
children | dd145c435e4b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvips"
4 VERSION="7.42.3"
5 CATEGORY="utilities"
6 LICENSE="LGPL2.1"
7 SHORT_DESC="An image processing library."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="vips-$VERSION.tar.gz"
10 WEB_SITE="http://www.vips.ecs.soton.ac.uk/"
11 WGET_URL="$WEB_SITE/supported/${VERSION%.*}/$TARBALL"
12 TAGS="image"
14 BUILD_DEPENDS="wget cacerts pkg-config gtk-doc libtool swig \
15 gobject-introspection-dev fftw-dev lcms-dev libpng-dev jpeg-dev \
16 imagemagick-dev tiff-dev zlib-dev libexif-dev gettext"
17 SPLIT="libvips-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./bootstrap.sh &&
23 autoreconf &&
24 ./configure --prefix=/usr \
25 --enable-gtk-doc=no &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libvips)
35 DEPENDS="fftw lcms pango libpng jpeg imagemagick tiff zlib \
36 glib libexif openexr liboil"
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 ;;
41 libvips-dev)
42 CAT="development|devel files"
43 DEPENDS="libvips"
44 mkdir -p $fs/usr/lib $fs/usr/include
45 cp -a $install/usr/lib/*.a $fs/usr/lib
46 cp -a $install/usr/lib/*.la $fs/usr/lib
47 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
48 cp -a $install/usr/include $fs/usr
49 ;;
50 esac
51 }