wok view leptonica/receipt @ rev 24742
updated libffcall (2.2 -> 2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:31:26 2022 +0100 (2022-03-16) |
parents | ad8b9ff412d2 |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leptonica"
4 VERSION="1.82.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Software for image processing and image analysis applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.leptonica.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}source/$TARBALL"
14 DEPENDS="giflib jpeg libpng libxcb tiff xorg-libX11 xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="autoconf automake giflib-dev jpeg-dev libpng-dev libtool
16 tiff-dev xorg-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/DanBloomberg/leptonica/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_files *.so*
41 }