wok-current view clicfs/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 89c8d8b6cf48 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="clicfs"
4 GITHASH="1e86c5520648e7c292802eb1e7864b3bd9a5c6f6"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="system-tools"
7 SHORT_DESC="Compressed Loop Image Container File System (see suse studio)."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/openSUSE/clicfs"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 DEPENDS="fuse2 liblzma libcrypto gcc-lib-base"
15 BUILD_DEPENDS="cmake fuse2-dev liblzma-dev openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }