wok-next view djvulibre/receipt @ rev 18450
perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sun Sep 27 19:52:03 2015 +0000 (2015-09-27) |
parents | fc90cf994d75 |
children | c26b810fab5e |
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"
13 #HOST_ARCH="i486 arm"
15 DEPENDS="gcc-lib-base tiff jpeg"
16 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps wget"
18 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
19 case "$ARCH" in
20 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/lib/*so* $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/djvu $fs/usr/share
40 }