# SliTaz package receipt. PACKAGE="leptonica" VERSION="1.70" CATEGORY="graphics" SHORT_DESC="Software for image processing and image analysis applications." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.leptonica.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.leptonica.org/source/$TARBALL" DEPENDS="giflib jpeg libpng tiff xorg-libX11 xorg-libXau xorg-libXdmcp libxcb" BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev tiff-dev xorg-dev" # Rules to configure and make the package. compile_rules() { ./autogen.sh ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }