wok-6.x view djvulibre/receipt @ rev 21166
connman: dbus must be running or connmand start fails
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Mar 31 15:36:17 2019 -0400 (2019-03-31) |
parents | fc90cf994d75 |
children | 640a2eba2511 |
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 }