wok view djvulibre/receipt @ rev 16218

ARM: add some libs for mupdf
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 31 22:14:07 2014 +0200 (2014-03-31)
parents 380ffe05937a
children afac960ce4cf
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 }