wok-next annotate 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
rev   line source
al@20462 1 # SliTaz package receipt v2.
pascal@19338 2
pascal@19338 3 PACKAGE="libzim"
pascal@19338 4 VERSION="1.0"
pascal@19338 5 CATEGORY="office"
al@20462 6 SHORT_DESC="Read and write method for ZIM files used by Wikipedia"
pascal@19338 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19338 8 LICENSE="GPL2"
pascal@19338 9 WEB_SITE="http://www.openzim.org/wiki/Zimlib"
al@20883 10 REPOLOGY="zimlib"
pascal@19338 11
al@20462 12 TARBALL="zimlib-$VERSION.tar.gz"
al@20462 13 WGET_URL="http://www.openzim.org/archive/$TARBALL"
al@20462 14
pascal@19338 15 BUILD_DEPENDS="xz-dev autoconf automake libtool"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@19338 17
al@20462 18 compile_rules() {
al@20550 19 ./configure $CONFIGURE_ARGS &&
al@20595 20 fix libtool &&
pascal@19338 21 make &&
al@21020 22 make DESTDIR=$install install
pascal@19338 23 }
pascal@19338 24
al@20462 25 genpkg_rules() {
al@20462 26 case $PACKAGE in
al@20462 27 libzim)
al@20550 28 copy @std
al@20462 29 DEPENDS="liblzma"
al@20462 30 ;;
al@20462 31 *-dev)
al@20550 32 copy @dev
al@20462 33 ;;
al@20462 34 esac
pascal@19338 35 }