wok-current annotate libzim/receipt @ rev 20703

Up clamtk (4.37)
author Richard Dunbar <mojo@slitaz.org>
date Tue Feb 05 14:03:17 2019 -0500 (2019-02-05)
parents 35a23f513b71
children fe96d104d02e
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@19338 11 WEB_SITE="http://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 }