wok-6.x view djvulibre/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | f1b019f776c9 |
children | 90e94ef08776 |
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/djvu/files/DjVuLibre/ 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;s|.*/DjVuLibre/||;s|/.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share
45 cp -a $install/usr/lib/*so* $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/djvu $fs/usr/share
48 }