wok view libvips/receipt @ rev 24712
updated less (551 -> 590)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 17:50:02 2022 +0100 (2022-03-14) |
parents | e6b1efdc1eea |
children | c467c00d68dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvips"
4 VERSION="8.9.1"
5 CATEGORY="utilities"
6 TAGS="image"
7 SHORT_DESC="An image processing library."
8 MAINTAINER="yuripourre@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://libvips.github.io/libvips/"
12 TARBALL="vips-$VERSION.tar.gz"
13 WGET_URL="https://github.com/libvips/libvips/archive/v$VERSION.tar.gz"
15 DEPENDS="fftw glib imagemagick jpeg lcms libexif liboil libpng
16 openexr pango tiff zlib"
17 BUILD_DEPENDS="cacerts expat-dev fftw-dev file findutils
18 gobject-introspection-dev gtk-doc imagemagick-dev jpeg-dev
19 lcms-dev libexif-dev libpng-dev libtool pkg-config swig
20 tiff-dev zlib-dev"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh \
32 --prefix=/usr \
33 --enable-gtk-doc=no &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }