wok view leptonica/receipt @ rev 17730
dahdi-linux: use linux-module-headers & xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 08:37:28 2015 +0100 (2015-03-06) |
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 }