wok-current view libzim/receipt @ rev 24806
updated libmicrohttpd and libmicrohttpd-dev (0.9.70 -> 0.9.75)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 14:15:13 2022 +0100 (2022-03-22) |
parents | fe96d104d02e |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib/
38 cp -a $install/usr/bin $fs/usr
39 }