wok view unionfs-fuse/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents ac8ca9758df1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="unionfs-fuse"
4 VERSION="2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="An effort to create a userland unionfs implementation that is way more flexible than the current in-kernel based unionfs solution."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/rpodgorny/unionfs-fuse"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="fuse2"
15 BUILD_DEPENDS="cmake fuse2-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }