wok view libzim/receipt @ rev 21605
Up opus (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 13:26:20 2019 +0200 (2019-05-23) |
parents | 8b25fb7e14d8 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzim"
4 SOURCE="zimlib"
5 VERSION="1.4"
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="https://www.openzim.org/wiki/Zimlib"
12 WGET_URL="http://download.openzim.org/archive/$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 }