wok view libzip/receipt @ rev 24575

updated fsarchiver (0.8.5 -> 0.8.6)
author Hans-G?nter Theisgen
date Sun Feb 27 10:36:21 2022 +0100 (2022-02-27)
parents 779187465f62
children cc474971b7df
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 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Current/!d;s|.* is ||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build &&
29 cd build &&
30 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
31 make -j 1 &&
32 make -j 1 install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }