wok-6.x view libzip/receipt @ rev 20892

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:14:07 2019 +0100 (2019-02-26)
parents 35a23f513b71
children 84659393c7e8
line source
1 # SliTaz package receipt.
3 PACKAGE="libzip"
4 VERSION="1.4.0"
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 cmake"
15 DEPENDS="zlib"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build && cd build &&
21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make && make -j 1 install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 }