wok-next view libzim/receipt @ rev 20155
uclibc-cross-compiler-x86_64: receipt v2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:25:12 2017 +0100 (2017-11-01) |
parents | |
children | 8940878905f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzim"
4 SOURCE="zimlib"
5 VERSION="1.0"
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="http://www.openzim.org/wiki/Zimlib"
12 WGET_URL="http://www.openzim.org/download/$TARBALL"
14 DEPENDS="liblzma"
15 BUILD_DEPENDS="xz-dev autoconf automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib/
31 cp -a $install/usr/bin $fs/usr
32 }