wok view libzip/receipt @ rev 17946
asunder: up (2.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:02:30 2015 +0300 (2015-04-16) |
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 }