wok annotate adbfs-rootless/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 89c8d8b6cf48
children e717a4953b0e
rev   line source
pascal@24012 1 # SliTaz package receipt.
pascal@24012 2
pascal@24012 3 PACKAGE="adbfs-rootless"
pascal@24012 4 GITHASH="5b091a50cd2419e1cebe42aa1d0e1ad1f90fdfad"
pascal@24012 5 VERSION=${GITHASH:0:7}
pascal@24012 6 CATEGORY="misc"
pascal@24012 7 SHORT_DESC="A FUSE-based filesystem using the Android ADB interface"
pascal@24012 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24012 9 LICENSE="BSD"
pascal@24012 10 TARBALL="$PACKAGE-$VERSION.zip"
pascal@24012 11 WEB_SITE="https://github.com/spion/adbfs-rootless"
pascal@24012 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
pascal@24012 13 TAGS="sync"
pascal@24012 14
pascal@24766 15 DEPENDS="fuse2"
pascal@24766 16 BUILD_DEPENDS="pkg-config fuse2-dev android-platform-tools"
pascal@24012 17
pascal@24476 18 # What is the latest version available today?
pascal@24476 19 current_version()
pascal@24476 20 {
pascal@24476 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24476 22 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
pascal@24476 23 }
pascal@24476 24
pascal@24012 25 # Rules to configure and make the package.
pascal@24012 26 compile_rules()
pascal@24012 27 {
pascal@24012 28 make
pascal@24012 29 }
pascal@24012 30
pascal@24012 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24012 32 genpkg_rules()
pascal@24012 33 {
pascal@24012 34 mkdir -p $fs/usr/bin
pascal@24012 35 cp -a $src/adbfs $fs/usr/bin
pascal@24012 36 }