wok view libvips/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | c467c00d68dd |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvips"
4 VERSION="8.12.2"
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/"
11 REPOLOGY="vips"
13 SUGGESTED="libvips-lang"
14 TARBALL="vips-$VERSION.tar.gz"
15 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
17 DEPENDS="fftw glib imagemagick jpeg lcms libexif liboil libpng
18 openexr pango tiff zlib"
19 BUILD_DEPENDS="cacerts expat-dev fftw-dev file findutils
20 gobject-introspection-dev gtk-doc imagemagick-dev jpeg-dev
21 lcms-dev libexif-dev libpng-dev libtool pkg-config swig
22 tiff-dev zlib-dev"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
28 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./autogen.sh \
35 --prefix=/usr \
36 --enable-gtk-doc=no &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cook_copy_folders bin
49 cook_copy_files *.so*
50 }