wok-next annotate djvulibre/receipt @ rev 16680
Up tazusb (4.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 18 19:16:29 2014 +0000 (2014-05-18) |
parents | d6b99c62ef00 |
children | 5de0cc26f88c |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="djvulibre" |
al@14429 | 4 VERSION="3.5.25.3" |
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" |
al@14429 | 11 WGET_URL="$SF_MIRROR/djvu/$TARBALL" |
pankso@16349 | 12 #HOST_ARCH="i486 arm" |
al@14429 | 13 |
al@14429 | 14 DEPENDS="gcc-lib-base tiff jpeg" |
al@14429 | 15 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps" |
al@14429 | 16 |
pankso@16218 | 17 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps |
pankso@16218 | 18 case "$ARCH" in |
pankso@16218 | 19 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;; |
pankso@16218 | 20 esac |
pankso@16218 | 21 |
al@14429 | 22 # Rules to configure and make the package. |
al@14429 | 23 compile_rules() |
al@14429 | 24 { |
al@14429 | 25 ./configure \ |
al@14429 | 26 --sysconfdir=/etc \ |
al@14429 | 27 $CONFIGURE_ARGS && |
al@14429 | 28 make && |
al@14429 | 29 make install |
al@14429 | 30 } |
al@14429 | 31 |
al@14429 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 33 genpkg_rules() |
al@14429 | 34 { |
al@14429 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
al@14429 | 36 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@14429 | 37 cp -a $install/usr/bin $fs/usr |
al@14429 | 38 cp -a $install/usr/share/djvu $fs/usr/share |
al@14429 | 39 } |