wok-current view adbfs-rootless/receipt @ rev 25418
duat: use archive.org for web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 05 16:48:05 2022 +0000 (2022-08-05) |
parents | 72f2704d3ae0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="adbfs-rootless"
4 GITHASH="5b091a50cd2419e1cebe42aa1d0e1ad1f90fdfad"
5 VERSION="20200229"
6 CATEGORY="misc"
7 SHORT_DESC="A FUSE-based filesystem using the Android ADB interface"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/spion/adbfs-rootless"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
13 TAGS="sync"
15 DEPENDS="fuse2"
16 BUILD_DEPENDS="pkg-config fuse2-dev android-platform-tools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/adbfs $fs/usr/bin
36 }