wok-current view libzim/receipt @ rev 19391

memtest: tiny shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 27 12:07:37 2016 +0200 (2016-08-27)
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 }