wok-next annotate djvulibre/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents c3a368c0cddb
children 757d032c55c7
rev   line source
al@20456 1 # SliTaz package receipt v2.
al@14429 2
al@14429 3 PACKAGE="djvulibre"
psychomaniak@18071 4 VERSION="3.5.27"
al@14429 5 CATEGORY="office"
al@20456 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@20456 10
al@14429 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18074 12 WGET_URL="$SF_MIRROR/djvu/$TARBALL"
psychomaniak@18072 13
al@20456 14 BUILD_DEPENDS_arm="tiff-dev jpeg-dev"
al@20513 15 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash rsvg-convert libpng12-dev"
al@20456 16 SPLIT="djvulibre-dev"
al@14429 17
al@20456 18 compile_rules() {
al@14429 19 ./configure \
al@14429 20 --sysconfdir=/etc \
al@14429 21 $CONFIGURE_ARGS &&
al@14429 22 make &&
al@14429 23 make install
al@14429 24 }
al@14429 25
al@20456 26 genpkg_rules() {
al@20456 27 case $PACKAGE in
al@20456 28 djvulibre)
al@20456 29 mkdir -p $fs/usr/lib $fs/usr/share
al@20456 30 cp -a $install/usr/lib/*so* $fs/usr/lib
al@20456 31 cp -a $install/usr/bin $fs/usr
al@20456 32 cp -a $install/usr/share/djvu $fs/usr/share
al@20456 33 DEPENDS="gcc-lib-base tiff jpeg libpng12"
al@20456 34 ;;
al@20456 35 *-dev)
al@20456 36 mkdir -p $fs/usr/lib
al@20456 37 cp -a $install/usr/include $fs/usr
al@20456 38 cp -a $install/usr/lib/*a $fs/usr/lib
al@20456 39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20456 40 ;;
al@20456 41 esac
al@14429 42 }