wok-next annotate djvulibre/receipt @ rev 20534
Clean default configure options when site script used.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 19:31:50 2018 +0300 (2018-03-30) |
parents | d43bf7aae921 |
children | 835b3b8ce6ac |
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@20534 | 19 ./configure $CONFIGURE_ARGS && |
al@14429 | 20 make && |
al@14429 | 21 make install |
al@14429 | 22 } |
al@14429 | 23 |
al@20456 | 24 genpkg_rules() { |
al@20456 | 25 case $PACKAGE in |
al@20456 | 26 djvulibre) |
al@20534 | 27 copy @std |
al@20456 | 28 DEPENDS="gcc-lib-base tiff jpeg libpng12" |
al@20456 | 29 ;; |
al@20456 | 30 *-dev) |
al@20534 | 31 copy @dev |
al@20456 | 32 ;; |
al@20456 | 33 esac |
al@14429 | 34 } |