wok view djvulibre/receipt @ rev 18061

py3k3: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 17 00:09:41 2015 +0200 (2015-05-17)
parents d6b99c62ef00
children 5de0cc26f88c
line source
1 # SliTaz package receipt.
3 PACKAGE="djvulibre"
4 VERSION="3.5.25.3"
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 #HOST_ARCH="i486 arm"
14 DEPENDS="gcc-lib-base tiff jpeg"
15 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps"
17 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
18 case "$ARCH" in
19 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/lib/*so* $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/djvu $fs/usr/share
39 }