wok annotate leptonica/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | 2cd3f255f983 |
children |
rev | line source |
---|---|
pascal@16668 | 1 # SliTaz package receipt. |
pascal@16668 | 2 |
pascal@16668 | 3 PACKAGE="leptonica" |
Hans-G?nter@24711 | 4 VERSION="1.82.0" |
pascal@16668 | 5 CATEGORY="graphics" |
pascal@16668 | 6 SHORT_DESC="Software for image processing and image analysis applications." |
pascal@16668 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16668 | 8 LICENSE="MIT" |
pascal@16668 | 9 WEB_SITE="http://www.leptonica.org/" |
Hans-G?nter@22021 | 10 |
pascal@16668 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22021 | 12 WGET_URL="${WEB_SITE}source/$TARBALL" |
pascal@16668 | 13 |
Hans-G?nter@22021 | 14 DEPENDS="giflib jpeg libpng libxcb tiff xorg-libX11 xorg-libXau xorg-libXdmcp" |
Hans-G?nter@22999 | 15 BUILD_DEPENDS="autoconf automake giflib-dev jpeg-dev libpng-dev libtool |
Hans-G?nter@22999 | 16 tiff-dev xorg-dev" |
pascal@16668 | 17 |
pascal@24433 | 18 # What is the latest version available today? |
pascal@24433 | 19 current_version() |
pascal@24433 | 20 { |
pascal@24433 | 21 wget -O - https://github.com/DanBloomberg/leptonica/releases 2>/dev/null | \ |
pascal@25600 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24433 | 23 } |
pascal@24433 | 24 |
pascal@16668 | 25 # Rules to configure and make the package. |
pascal@16668 | 26 compile_rules() |
pascal@16668 | 27 { |
Hans-G?nter@22021 | 28 ./autogen.sh && |
Hans-G?nter@22021 | 29 ./configure \ |
Hans-G?nter@22021 | 30 --prefix=/usr \ |
pascal@16668 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22021 | 32 make && |
Hans-G?nter@22021 | 33 make install |
pascal@16668 | 34 } |
pascal@16668 | 35 |
pascal@16668 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16668 | 37 genpkg_rules() |
pascal@16668 | 38 { |
Hans-G?nter@24711 | 39 cook_copy_folders bin |
Hans-G?nter@24711 | 40 cook_copy_files *.so* |
Hans-G?nter@22021 | 41 } |