wok-6.x view djvulibre/receipt @ rev 17104

Add libsdl2 (thanks necrophcodr)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 30 14:16:28 2014 +0000 (2014-08-30)
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 }