wok-next view libzim/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
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 }