wok-6.x annotate 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
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
pascal@24385 23 # What is the latest version available today?
pascal@24385 24 current_version()
pascal@24385 25 {
pascal@24385 26 wget -O - https://sourceforge.net/projects/djvu/files/DjVuLibre/ 2>/dev/null | \
pascal@24385 27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24385 28 sed '/scope="row/!d;s|.*/DjVuLibre/||;s|/.*||;q'
pascal@24385 29 }
pascal@24385 30
al@14429 31 # Rules to configure and make the package.
al@14429 32 compile_rules()
al@14429 33 {
al@14429 34 ./configure \
al@14429 35 --sysconfdir=/etc \
al@14429 36 $CONFIGURE_ARGS &&
al@14429 37 make &&
al@14429 38 make install
al@14429 39 }
al@14429 40
al@14429 41 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14429 42 genpkg_rules()
al@14429 43 {
al@14429 44 mkdir -p $fs/usr/lib $fs/usr/share
al@14429 45 cp -a $install/usr/lib/*so* $fs/usr/lib
al@14429 46 cp -a $install/usr/bin $fs/usr
al@14429 47 cp -a $install/usr/share/djvu $fs/usr/share
al@14429 48 }