wok-next view libzim/receipt @ rev 21150
All the sorts of Lua 5
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 30 23:34:32 2019 +0200 (2019-01-30) |
parents | df20b2110f7e |
children | 3bc985504162 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libzim"
4 VERSION="1.0"
5 CATEGORY="office"
6 SHORT_DESC="Read and write method for ZIM files used by Wikipedia"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.openzim.org/wiki/Zimlib"
10 REPOLOGY="zimlib"
12 TARBALL="zimlib-$VERSION.tar.gz"
13 WGET_URL="http://www.openzim.org/archive/$TARBALL"
15 BUILD_DEPENDS="xz-dev autoconf automake libtool"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make DESTDIR=$install install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libzim)
28 copy @std
29 DEPENDS="liblzma"
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }