wok annotate djvulibre/receipt @ rev 18072

djvulibre, djview: fix bad value of $SF_MIRROR, use downloads (may mix html+binary data with busybox wget)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu May 21 16:13:49 2015 +0200 (2015-05-21)
parents 5de0cc26f88c
children f1b019f776c9
rev   line source
al@14429 1 # SliTaz package receipt.
al@14429 2
al@14429 3 PACKAGE="djvulibre"
psychomaniak@18071 4 VERSION="3.5.27"
al@14429 5 CATEGORY="office"
al@14429 6 SHORT_DESC="A web-centric format and software platform for distributing documents and images."
al@14429 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@14429 9 WEB_SITE="http://djvu.sourceforge.net/"
al@14429 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@18072 11 # WGET_URL="$SF_MIRROR/djvu/$TARBALL"
psychomaniak@18072 12 WGET_URL="${WEB_SITE/djvu/downloads}/djvu/$TARBALL"
psychomaniak@18072 13
pankso@16349 14 #HOST_ARCH="i486 arm"
al@14429 15
al@14429 16 DEPENDS="gcc-lib-base tiff jpeg"
psychomaniak@18072 17 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps wget"
al@14429 18
pankso@16218 19 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
pankso@16218 20 case "$ARCH" in
pankso@16218 21 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
pankso@16218 22 esac
pankso@16218 23
al@14429 24 # Rules to configure and make the package.
al@14429 25 compile_rules()
al@14429 26 {
al@14429 27 ./configure \
al@14429 28 --sysconfdir=/etc \
al@14429 29 $CONFIGURE_ARGS &&
al@14429 30 make &&
al@14429 31 make install
al@14429 32 }
al@14429 33
al@14429 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14429 35 genpkg_rules()
al@14429 36 {
al@14429 37 mkdir -p $fs/usr/lib $fs/usr/share
al@14429 38 cp -a $install/usr/lib/*so* $fs/usr/lib
al@14429 39 cp -a $install/usr/bin $fs/usr
al@14429 40 cp -a $install/usr/share/djvu $fs/usr/share
al@14429 41 }