wok view hubicfuse/receipt @ rev 24334

polkit: CVE-2021-4034
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 11:07:11 2022 +0000 (2022-01-28)
parents 9bdf05b1b49c
children 72f2704d3ae0
line source
1 # SliTaz package receipt.
3 PACKAGE="hubicfuse"
4 VERSION="3.0.1"
5 CATEGORY="network"
6 SHORT_DESC="Support for mounting Hubic drive."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/TurboGit/hubicfuse"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="curl fuse libjson-c libmagic libssl"
15 BUILD_DEPENDS="curl-dev fuse-dev glib libjson-c-dev libmagic-dev
16 libxml2-dev openssl-dev pkg-config"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -lrt"
29 ./configure \
30 -prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }