wok diff libzip/receipt @ rev 13624

Up libvalhalla (2.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 13 16:28:48 2012 +0100 (2012-11-13)
parents
children 8d6f480bf664
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libzip/receipt	Tue Nov 13 16:28:48 2012 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libzip"
     1.7 +VERSION="0.10.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="C library for reading, creating, and modifying zip archives."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.nih.at/libzip/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +
    1.15 +BUILD_DEPENDS="zlib-dev"
    1.16 +DEPENDS="zlib"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr &&
    1.23 +	make && make install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/lib
    1.30 +	cp -a $install/usr/bin $fs/usr
    1.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.32 +}