wok-6.x view leptonica/receipt @ rev 21793

cookutils: build core-5in1 weekly too
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 06 13:48:21 2019 +0200 (2019-08-06)
parents 8417cbe6fdae
children b17dd5322688
line source
1 # SliTaz package receipt.
3 PACKAGE="leptonica"
4 VERSION="1.70"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.leptonica.org/source/$TARBALL"
13 DEPENDS="giflib jpeg libpng tiff xorg-libX11 xorg-libXau xorg-libXdmcp libxcb"
14 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev tiff-dev xorg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./autogen.sh
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }