wok view libzip/receipt @ rev 23924
webgames: update checkers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 22 19:44:06 2020 +0000 (2020-08-22) |
parents | 84659393c7e8 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="libzip"
4 VERSION="1.6.1"
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 WEB_SITE="https://libzip.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="cmake zlib-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build &&
23 cd build &&
24 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
25 make -j 1 &&
26 make -j 1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }