wok-current rev 24012

Add adbfs-rootless, up pcem (17)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 11 17:59:34 2021 +0000 (2021-02-11)
parents 5b0e64c0628a
children bc4b94310a29
files adbfs-rootless/receipt android-platform-tools/receipt pcem/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/adbfs-rootless/receipt	Thu Feb 11 17:59:34 2021 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="adbfs-rootless"
     1.7 +GITHASH="5b091a50cd2419e1cebe42aa1d0e1ad1f90fdfad"
     1.8 +VERSION=${GITHASH:0:7}
     1.9 +CATEGORY="misc"
    1.10 +SHORT_DESC="A FUSE-based filesystem using the Android ADB interface"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="BSD"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WEB_SITE="https://github.com/spion/adbfs-rootless"
    1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    1.16 +TAGS="sync"
    1.17 +
    1.18 +DEPENDS="fuse"
    1.19 +BUILD_DEPENDS="pkg-config fuse-dev android-platform-tools"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/adbfs $fs/usr/bin
    1.32 +}
     2.1 --- a/android-platform-tools/receipt	Fri Feb 05 17:16:12 2021 +0000
     2.2 +++ b/android-platform-tools/receipt	Thu Feb 11 17:59:34 2021 +0000
     2.3 @@ -17,8 +17,8 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p ${fs}/opt/android-sdk
     2.8 +	mkdir -p ${fs}/opt/android-sdk ${fs}/usr/bin
     2.9  	cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}
    2.10  	chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
    2.11 +	ln -s /opt/android-sdk/platform-tools/adb ${fs}/usr/bin
    2.12  }
    2.13 -
     3.1 --- a/pcem/receipt	Fri Feb 05 17:16:12 2021 +0000
     3.2 +++ b/pcem/receipt	Thu Feb 11 17:59:34 2021 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="pcem"
     3.7 -VERSION="15"
     3.8 +VERSION="17"
     3.9  CATEGORY="misc"
    3.10  SHORT_DESC="An IBM PC emulator"
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
    3.12 @@ -14,6 +14,12 @@
    3.13  DEPENDS="wxWidgets libsdl2 openal alsa-lib"
    3.14  BUILD_DEPENDS="wxWidgets-dev libsdl2-dev openal-dev alsa-lib-dev"
    3.15  
    3.16 +current_version()
    3.17 +{
    3.18 +	wget -O - $WEB_SITE/downloads.html 2>/dev/null | \
    3.19 +	sed '/tar/!d;s|.*PCemV\(.*\)Linux.tar.*".*|\1|;q'
    3.20 +}
    3.21 +
    3.22  # Rules to configure and make the package.
    3.23  compile_rules()
    3.24  {
    3.25 @@ -31,6 +37,6 @@
    3.26  {
    3.27  	cp -a $install/* $fs/
    3.28  	mkdir -p $install/usr/share/doc
    3.29 -	cp $src/readme.txt $install/usr/share/doc
    3.30 +	cp $src/readme.html $install/usr/share/doc
    3.31  	cp $src/COPYING $install/usr/share/doc
    3.32  }