wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="djvulibre"
4 VERSION="3.5.27"
5 CATEGORY="office"
6 SHORT_DESC="A web-centric format and software platform for distributing documents and images."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://djvu.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 # WGET_URL="$SF_MIRROR/djvu/$TARBALL"
12 WGET_URL="${WEB_SITE/djvu/downloads}/djvu/$TARBALL"
14 #HOST_ARCH="i486 arm"
16 DEPENDS="gcc-lib-base tiff jpeg"
17 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps wget"
19 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
20 case "$ARCH" in
21 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/lib/*so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/djvu $fs/usr/share
41 }