wok-6.x diff libzim/receipt @ rev 19805

libcaca: do not call cook install compile_rules (setup broken by bdeps)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 26 09:43:31 2017 +0100 (2017-02-26)
parents
children 35a23f513b71
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libzim/receipt	Sun Feb 26 09:43:31 2017 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libzim"
     1.7 +SOURCE="zimlib"
     1.8 +VERSION="1.0"
     1.9 +CATEGORY="office"
    1.10 +SHORT_DESC="Read and write method for ZIM files used by Wikipedia."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.openzim.org/wiki/Zimlib"
    1.15 +WGET_URL="http://www.openzim.org/download/$TARBALL"
    1.16 +
    1.17 +DEPENDS="liblzma"
    1.18 +BUILD_DEPENDS="xz-dev autoconf automake libtool"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure --prefix=/usr \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/lib
    1.33 +	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +}