wok-6.x annotate djvulibre/receipt @ rev 19761

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:21:30 2017 +0000 (2017-02-19)
parents fc90cf994d75
children 640a2eba2511
rev   line source
al@14429 1 # SliTaz package receipt.
al@14429 2
al@14429 3 PACKAGE="djvulibre"
psychomaniak@18071 4 VERSION="3.5.27"
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@18074 11 WGET_URL="$SF_MIRROR/djvu/$TARBALL"
psychomaniak@18072 12
pankso@16349 13 #HOST_ARCH="i486 arm"
al@14429 14
al@14429 15 DEPENDS="gcc-lib-base tiff jpeg"
psychomaniak@18072 16 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps wget"
al@14429 17
pankso@16218 18 # Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps
pankso@16218 19 case "$ARCH" in
pankso@16218 20 arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;;
pankso@16218 21 esac
pankso@16218 22
al@14429 23 # Rules to configure and make the package.
al@14429 24 compile_rules()
al@14429 25 {
al@14429 26 ./configure \
al@14429 27 --sysconfdir=/etc \
al@14429 28 $CONFIGURE_ARGS &&
al@14429 29 make &&
al@14429 30 make install
al@14429 31 }
al@14429 32
al@14429 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14429 34 genpkg_rules()
al@14429 35 {
al@14429 36 mkdir -p $fs/usr/lib $fs/usr/share
al@14429 37 cp -a $install/usr/lib/*so* $fs/usr/lib
al@14429 38 cp -a $install/usr/bin $fs/usr
al@14429 39 cp -a $install/usr/share/djvu $fs/usr/share
al@14429 40 }