wok-next view libzim/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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="https://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 }