wok-6.x view libzim/receipt @ rev 19701
Up: slitaz-tools and slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 14 12:11:41 2017 +0100 (2017-02-14) |
parents | |
children | 35a23f513b71 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzim"
4 SOURCE="zimlib"
5 VERSION="1.0"
6 CATEGORY="office"
7 SHORT_DESC="Read and write method for ZIM files used by Wikipedia."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.openzim.org/wiki/Zimlib"
12 WGET_URL="http://www.openzim.org/download/$TARBALL"
14 DEPENDS="liblzma"
15 BUILD_DEPENDS="xz-dev autoconf automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 cp -a $install/usr/bin $fs/usr
32 }