wok view leptonica/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | 20c41ba7196c |
children | ad8b9ff412d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="leptonica"
4 VERSION="1.79.0"
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="${WEB_SITE}source/$TARBALL"
14 DEPENDS="giflib jpeg libpng libxcb tiff xorg-libX11 xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="autoconf automake giflib-dev jpeg-dev libpng-dev libtool
16 tiff-dev xorg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./autogen.sh &&
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }