wok-6.x annotate leptonica/receipt @ rev 23513

busybox: musl & diet may fail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 11:53:42 2020 +0200 (2020-04-06)
parents 20c41ba7196c
children ad8b9ff412d2
rev   line source
pascal@16668 1 # SliTaz package receipt.
pascal@16668 2
pascal@16668 3 PACKAGE="leptonica"
Hans-G?nter@22997 4 VERSION="1.79.0"
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/"
Hans-G?nter@22021 10
pascal@16668 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22021 12 WGET_URL="${WEB_SITE}source/$TARBALL"
pascal@16668 13
Hans-G?nter@22021 14 DEPENDS="giflib jpeg libpng libxcb tiff xorg-libX11 xorg-libXau xorg-libXdmcp"
Hans-G?nter@22999 15 BUILD_DEPENDS="autoconf automake giflib-dev jpeg-dev libpng-dev libtool
Hans-G?nter@22999 16 tiff-dev xorg-dev"
pascal@16668 17
pascal@16668 18 # Rules to configure and make the package.
pascal@16668 19 compile_rules()
pascal@16668 20 {
Hans-G?nter@22021 21 ./autogen.sh &&
Hans-G?nter@22021 22 ./configure \
Hans-G?nter@22021 23 --prefix=/usr \
pascal@16668 24 $CONFIGURE_ARGS &&
Hans-G?nter@22021 25 make &&
Hans-G?nter@22021 26 make install
pascal@16668 27 }
pascal@16668 28
pascal@16668 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16668 30 genpkg_rules()
pascal@16668 31 {
pascal@16668 32 mkdir -p $fs/usr/lib
Hans-G?nter@22021 33
Hans-G?nter@22021 34 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22021 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@22021 36 }