# HG changeset patch # User Pascal Bellard # Date 1337425089 -7200 # Node ID b26616acb2887e813d662d7ea7aaf533a6d3d49e # Parent b2cd0b9709502c48bbe093ac7149e629425fab07 Add libzip diff -r b2cd0b970950 -r b26616acb288 libzip-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libzip-dev/receipt Sat May 19 12:58:09 2012 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libzip-dev" +VERSION="0.10.1" +CATEGORY="development" +SHORT_DESC="C library for reading, creating, and modifying zip archives, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://www.nih.at/libzip/" +WANTED="libzip" + +DEPENDS="libzip" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/libzip $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r b2cd0b970950 -r b26616acb288 libzip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libzip/receipt Sat May 19 12:58:09 2012 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libzip" +VERSION="0.10.1" +CATEGORY="misc" +SHORT_DESC="C library for reading, creating, and modifying zip archives." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.nih.at/libzip/" +WGET_URL="${WEB_SITE}$TARBALL" + +BUILD_DEPENDS="zlib-dev" +DEPENDS="zlib" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}