wok-6.x annotate leptonica/receipt @ rev 22022
updated leptonica and leptonica-dev (1.70 -> 1.78.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Oct 20 11:32:40 2019 +0100 (2019-10-20) |
parents | b17dd5322688 |
children | 20c41ba7196c |
rev | line source |
---|---|
pascal@16668 | 1 # SliTaz package receipt. |
pascal@16668 | 2 |
pascal@16668 | 3 PACKAGE="leptonica" |
Hans-G?nter@22022 | 4 VERSION="1.78.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" |
pascal@16668 | 15 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev tiff-dev xorg-dev" |
pascal@16668 | 16 |
pascal@16668 | 17 # Rules to configure and make the package. |
pascal@16668 | 18 compile_rules() |
pascal@16668 | 19 { |
Hans-G?nter@22021 | 20 ./autogen.sh && |
Hans-G?nter@22021 | 21 ./configure \ |
Hans-G?nter@22021 | 22 --prefix=/usr \ |
pascal@16668 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@22021 | 24 make && |
Hans-G?nter@22021 | 25 make install |
pascal@16668 | 26 } |
pascal@16668 | 27 |
pascal@16668 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16668 | 29 genpkg_rules() |
pascal@16668 | 30 { |
pascal@16668 | 31 mkdir -p $fs/usr/lib |
Hans-G?nter@22021 | 32 |
Hans-G?nter@22021 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22021 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22021 | 35 } |