wok view libzip/receipt @ rev 19932

Up lrzip (631)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 27 10:14:20 2017 +0200 (2017-04-27)
parents 89f18ec827a9
children 35a23f513b71
line source
1 # SliTaz package receipt.
3 PACKAGE="libzip"
4 VERSION="0.11.2"
5 CATEGORY="misc"
6 SHORT_DESC="C library for reading, creating, and modifying zip archives."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.nih.at/libzip/"
11 WGET_URL="${WEB_SITE}$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="zlib-dev"
15 DEPENDS="zlib"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make && make -j 1 install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }