wok annotate libzim/receipt @ rev 19905
Up backup-manager (0.7.13)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 10 09:25:19 2017 +0200 (2017-04-10) |
parents | |
children | 35a23f513b71 |
rev | line source |
---|---|
pascal@19338 | 1 # SliTaz package receipt. |
pascal@19338 | 2 |
pascal@19338 | 3 PACKAGE="libzim" |
pascal@19338 | 4 SOURCE="zimlib" |
pascal@19338 | 5 VERSION="1.0" |
pascal@19338 | 6 CATEGORY="office" |
pascal@19338 | 7 SHORT_DESC="Read and write method for ZIM files used by Wikipedia." |
pascal@19338 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19338 | 9 LICENSE="GPL2" |
pascal@19338 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@19338 | 11 WEB_SITE="http://www.openzim.org/wiki/Zimlib" |
pascal@19338 | 12 WGET_URL="http://www.openzim.org/download/$TARBALL" |
pascal@19338 | 13 |
pascal@19338 | 14 DEPENDS="liblzma" |
pascal@19338 | 15 BUILD_DEPENDS="xz-dev autoconf automake libtool" |
pascal@19338 | 16 |
pascal@19338 | 17 # Rules to configure and make the package. |
pascal@19338 | 18 compile_rules() |
pascal@19338 | 19 { |
pascal@19338 | 20 ./configure --prefix=/usr \ |
pascal@19338 | 21 $CONFIGURE_ARGS && |
pascal@19338 | 22 make && |
pascal@19338 | 23 make DESTDIR=$DESTDIR install |
pascal@19338 | 24 } |
pascal@19338 | 25 |
pascal@19338 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19338 | 27 genpkg_rules() |
pascal@19338 | 28 { |
pascal@19338 | 29 mkdir -p $fs/usr/lib |
pascal@19338 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
pascal@19338 | 31 cp -a $install/usr/bin $fs/usr |
pascal@19338 | 32 } |