wok-next annotate djvulibre/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 94b1769614d9 |
children | 75632eca5b07 |
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@20569 | 6 SHORT_DESC="A web-centric format and software platform for distributing \ |
al@20569 | 7 documents and images" |
al@14429 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
al@14429 | 10 WEB_SITE="http://djvu.sourceforge.net/" |
al@20456 | 11 |
al@14429 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18074 | 13 WGET_URL="$SF_MIRROR/djvu/$TARBALL" |
psychomaniak@18072 | 14 |
al@20942 | 15 BUILD_DEPENDS="tiff-dev libjpeg-turbo-dev xdg-utils bash rsvg-convert \ |
al@20942 | 16 libpng12-dev" |
al@20942 | 17 BUILD_DEPENDS="rsvg-convert libjpeg-turbo-dev tiff-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
al@14429 | 19 |
al@20456 | 20 compile_rules() { |
al@20534 | 21 ./configure $CONFIGURE_ARGS && |
al@20569 | 22 fix libtool && |
al@14429 | 23 make && |
al@14429 | 24 make install |
al@14429 | 25 } |
al@14429 | 26 |
al@20456 | 27 genpkg_rules() { |
al@20456 | 28 case $PACKAGE in |
al@20456 | 29 djvulibre) |
al@20942 | 30 copy @std @ico |
al@20942 | 31 DEPENDS="libjpeg-turbo tiff" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20534 | 34 copy @dev |
al@20942 | 35 DEPENDS="djvulibre libjpeg-turbo-dev" |
al@20456 | 36 ;; |
al@20456 | 37 esac |
al@14429 | 38 } |