wok annotate leptonica/receipt @ rev 19158
mesa*: fix build
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed May 25 23:07:05 2016 +0200 (2016-05-25) |
parents | 8417cbe6fdae |
children | b17dd5322688 |
rev | line source |
---|---|
pascal@16668 | 1 # SliTaz package receipt. |
pascal@16668 | 2 |
pascal@16668 | 3 PACKAGE="leptonica" |
pascal@16668 | 4 VERSION="1.70" |
pascal@16668 | 5 CATEGORY="graphics" |
pascal@16668 | 6 SHORT_DESC="Software for image processing and image analysis applications." |
pascal@16668 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16668 | 8 LICENSE="MIT" |
pascal@16668 | 9 WEB_SITE="http://www.leptonica.org/" |
pascal@16668 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16668 | 11 WGET_URL="http://www.leptonica.org/source/$TARBALL" |
pascal@16668 | 12 |
pascal@16668 | 13 DEPENDS="giflib jpeg libpng tiff xorg-libX11 xorg-libXau xorg-libXdmcp libxcb" |
pascal@16668 | 14 BUILD_DEPENDS="giflib-dev jpeg-dev libpng-dev tiff-dev xorg-dev" |
pascal@16668 | 15 |
pascal@16668 | 16 # Rules to configure and make the package. |
pascal@16668 | 17 compile_rules() |
pascal@16668 | 18 { |
pascal@16668 | 19 ./autogen.sh |
pascal@16668 | 20 ./configure \ |
pascal@16668 | 21 --prefix=/usr \ |
pascal@16668 | 22 $CONFIGURE_ARGS && |
pascal@16668 | 23 make && make install |
pascal@16668 | 24 } |
pascal@16668 | 25 |
pascal@16668 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16668 | 27 genpkg_rules() |
pascal@16668 | 28 { |
pascal@16668 | 29 mkdir -p $fs/usr/lib |
pascal@16668 | 30 cp -a $install/usr/bin $fs/usr |
pascal@16668 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
psychomaniak@18352 | 32 } |