wok-next annotate leptonica/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 9e5dca6702bf |
children | d5aab818505e |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
pascal@16668 | 2 |
pascal@16668 | 3 PACKAGE="leptonica" |
psychomaniak@20014 | 4 VERSION="1.74.4" |
pascal@16668 | 5 CATEGORY="graphics" |
al@20459 | 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/" |
al@20459 | 10 |
pascal@16668 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16668 | 12 WGET_URL="http://www.leptonica.org/source/$TARBALL" |
pascal@16668 | 13 |
al@20454 | 14 BUILD_DEPENDS="giflib-dev jpeg-dev libpng16-dev tiff-dev xorg-dev" |
al@20459 | 15 SPLIT="leptonica-dev" |
pascal@16668 | 16 |
al@20459 | 17 compile_rules() { |
al@20557 | 18 ./configure $CONFIGURE_ARGS && |
al@20575 | 19 fix libtool && |
al@20557 | 20 make && |
al@20557 | 21 make install |
pascal@16668 | 22 } |
pascal@16668 | 23 |
al@20459 | 24 genpkg_rules() { |
al@20459 | 25 case $PACKAGE in |
al@20459 | 26 leptonica) |
al@20557 | 27 copy @std |
al@20459 | 28 DEPENDS="giflib jpeg libpng16 tiff xorg-libX11 xorg-libXau \ |
al@20459 | 29 xorg-libXdmcp xorg-libxcb" |
al@20459 | 30 ;; |
al@20459 | 31 *-dev) |
al@20557 | 32 copy @dev |
al@20459 | 33 ;; |
al@20459 | 34 esac |
al@20459 | 35 } |