wok-6.x annotate djvulibre/receipt @ rev 14952
Up: ethumb-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:04 2013 +0200 (2013-08-08) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="djvulibre" |
al@14429 | 4 VERSION="3.5.25.3" |
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" |
al@14429 | 8 WEB_SITE="http://djvu.sourceforge.net/" |
al@14429 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14429 | 10 WGET_URL="$SF_MIRROR/djvu/$TARBALL" |
al@14429 | 11 |
al@14429 | 12 DEPENDS="gcc-lib-base tiff jpeg" |
al@14429 | 13 BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash librsvg-apps" |
al@14429 | 14 |
al@14429 | 15 # Rules to configure and make the package. |
al@14429 | 16 compile_rules() |
al@14429 | 17 { |
al@14429 | 18 ./configure \ |
al@14429 | 19 --sysconfdir=/etc \ |
al@14429 | 20 $CONFIGURE_ARGS && |
al@14429 | 21 make && |
al@14429 | 22 make install |
al@14429 | 23 } |
al@14429 | 24 |
al@14429 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 26 genpkg_rules() |
al@14429 | 27 { |
al@14429 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
al@14429 | 29 cp -a $install/usr/lib/*so* $fs/usr/lib |
al@14429 | 30 cp -a $install/usr/bin $fs/usr |
al@14429 | 31 cp -a $install/usr/share/djvu $fs/usr/share |
al@14429 | 32 } |