wok-current view libvips/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents 5ea0ce1cecc0
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 current_version()
25 {
26 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./autogen.sh \
34 --prefix=/usr \
35 --enable-gtk-doc=no &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cook_copy_folders bin
48 cook_copy_files *.so*
49 }