wok-6.x annotate libzim/receipt @ rev 23217
cups-filters: inserted include statements
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 07:48:24 2020 +0100 (2020-03-23) |
parents | 8b25fb7e14d8 |
children | ede1d184d5c5 |
rev | line source |
---|---|
pascal@19338 | 1 # SliTaz package receipt. |
pascal@19338 | 2 |
pascal@19338 | 3 PACKAGE="libzim" |
pascal@19338 | 4 SOURCE="zimlib" |
pascal@20180 | 5 VERSION="1.4" |
pascal@19338 | 6 CATEGORY="office" |
pascal@19338 | 7 SHORT_DESC="Read and write method for ZIM files used by Wikipedia." |
pascal@19338 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19338 | 9 LICENSE="GPL2" |
pascal@19338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@21419 | 11 WEB_SITE="https://www.openzim.org/wiki/Zimlib" |
pascal@20181 | 12 WGET_URL="http://download.openzim.org/archive/$TARBALL" |
pascal@19338 | 13 |
pascal@19338 | 14 DEPENDS="liblzma" |
pascal@19338 | 15 BUILD_DEPENDS="xz-dev autoconf automake libtool" |
pascal@19338 | 16 |
pascal@19338 | 17 # Rules to configure and make the package. |
pascal@19338 | 18 compile_rules() |
pascal@19338 | 19 { |
pascal@19338 | 20 ./configure --prefix=/usr \ |
pascal@19338 | 21 $CONFIGURE_ARGS && |
pascal@19338 | 22 make && |
pascal@19338 | 23 make DESTDIR=$DESTDIR install |
pascal@19338 | 24 } |
pascal@19338 | 25 |
pascal@19338 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19338 | 27 genpkg_rules() |
pascal@19338 | 28 { |
pascal@19338 | 29 mkdir -p $fs/usr/lib |
pascal@19338 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@19338 | 31 cp -a $install/usr/bin $fs/usr |
pascal@19338 | 32 } |