wok-next view libzim/receipt @ rev 20595

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 11:36:31 2018 +0300 (2018-04-16)
parents e545e47edffa
children df20b2110f7e
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"
11 TARBALL="zimlib-$VERSION.tar.gz"
12 WGET_URL="http://www.openzim.org/archive/$TARBALL"
14 BUILD_DEPENDS="xz-dev autoconf automake libtool"
15 SPLIT="libzim-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libzim)
27 copy @std
28 DEPENDS="liblzma"
29 ;;
30 *-dev)
31 copy @dev
32 ;;
33 esac
34 }