wok view leptonica/receipt @ rev 17826
Up: slitaz-dev-tools(2.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 22 22:20:48 2015 +0100 (2015-03-22) |
parents | |
children | 8417cbe6fdae |
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 }