wok-next view leptonica/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 9e5dca6702bf |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="leptonica"
4 VERSION="1.74.4"
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="http://www.leptonica.org/source/$TARBALL"
14 BUILD_DEPENDS="giflib-dev jpeg-dev libpng16-dev tiff-dev xorg-dev"
15 SPLIT="leptonica-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 leptonica)
27 copy @std
28 DEPENDS="giflib jpeg libpng16 tiff xorg-libX11 xorg-libXau \
29 xorg-libXdmcp xorg-libxcb"
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }