wok-next view djvulibre/receipt @ rev 20506
zerobin: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 12:28:31 2018 +0100 (2018-03-16) |
parents | 108629bb27a1 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/djvu/$TARBALL"
14 BUILD_DEPENDS_arm="tiff-dev jpeg-dev"
15 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash rsvg-convert wget libpng12-dev"
16 SPLIT="djvulibre-dev"
18 compile_rules() {
19 ./configure \
20 --sysconfdir=/etc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 djvulibre)
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/lib/*so* $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/djvu $fs/usr/share
33 DEPENDS="gcc-lib-base tiff jpeg libpng12"
34 ;;
35 *-dev)
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/lib/*a $fs/usr/lib
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 ;;
41 esac
42 }