wok-current annotate adbfs-rootless/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (2022-09-04) |
parents | 72f2704d3ae0 |
children |
rev | line source |
---|---|
pascal@24012 | 1 # SliTaz package receipt. |
pascal@24012 | 2 |
pascal@24012 | 3 PACKAGE="adbfs-rootless" |
pascal@24012 | 4 GITHASH="5b091a50cd2419e1cebe42aa1d0e1ad1f90fdfad" |
pascal@24975 | 5 VERSION="20200229" |
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@24975 | 22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d |
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 } |