wok-current annotate hubicfuse/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 | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@17500 | 1 # SliTaz package receipt. |
pascal@17500 | 2 |
pascal@17500 | 3 PACKAGE="hubicfuse" |
Hans-G?nter@22935 | 4 VERSION="3.0.1" |
pascal@17500 | 5 CATEGORY="network" |
Hans-G?nter@22935 | 6 SHORT_DESC="Support for mounting Hubic drive." |
pascal@17500 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17500 | 8 LICENSE="MIT" |
pascal@17500 | 9 WEB_SITE="https://github.com/TurboGit/hubicfuse" |
Hans-G?nter@22935 | 10 |
pascal@17500 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22935 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@17500 | 13 |
pascal@24766 | 14 DEPENDS="curl fuse2 libjson-c libmagic libssl" |
pascal@24766 | 15 BUILD_DEPENDS="curl-dev fuse2-dev glib libjson-c-dev libmagic-dev |
Hans-G?nter@22935 | 16 libxml2-dev openssl-dev pkg-config" |
pascal@17500 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@17500 | 24 # Rules to configure and make the package. |
pascal@17500 | 25 compile_rules() |
pascal@17500 | 26 { |
Hans-G?nter@22935 | 27 export LDFLAGS="$LDFLAGS -lrt" |
Hans-G?nter@22935 | 28 |
Hans-G?nter@22935 | 29 ./configure \ |
Hans-G?nter@22935 | 30 -prefix=/usr \ |
Hans-G?nter@22935 | 31 $CONFIGURE_ARGS && |
pascal@17500 | 32 make && |
pascal@17500 | 33 make DESTDIR=$DESTDIR install |
pascal@17500 | 34 } |
pascal@17500 | 35 |
pascal@17500 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17500 | 37 genpkg_rules() |
pascal@17500 | 38 { |
Hans-G?nter@22935 | 39 cp -a $install/* $fs |
pascal@17500 | 40 } |