wok view hubicfuse/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents 72f2704d3ae0
children
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 fuse2 libjson-c libmagic libssl"
15 BUILD_DEPENDS="curl-dev fuse2-dev glib libjson-c-dev libmagic-dev
16 libxml2-dev openssl-dev pkg-config"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -lrt"
30 ./configure \
31 -prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }