wok view hubicfuse/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
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 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 }