wok annotate simple-mtpfs/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents ac8ca9758df1
children
rev   line source
Hans-G?nter@21642 1 # SliTaz package receipt.
Hans-G?nter@21642 2
Hans-G?nter@21642 3 PACKAGE="simple-mtpfs"
Hans-G?nter@21642 4 VERSION="0.3.0"
Hans-G?nter@21642 5 CATEGORY="system-tools"
Hans-G?nter@21642 6 SHORT_DESC="Simple MTP fuse filesystem driver."
Hans-G?nter@21642 7 MAINTAINER="developer@slitaz.org"
Hans-G?nter@21642 8 LICENSE="GPL2"
Hans-G?nter@21642 9 WEB_SITE="https://github.com/phatina/simple-mtpfs"
Hans-G?nter@21642 10
Hans-G?nter@21642 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21642 12 WGET_URL="https://github.com/phatina/$PACKAGE/archive/$TARBALL"
Hans-G?nter@21642 13
pascal@24766 14 DEPENDS="fuse2 libmtp gcc83-lib-base"
pascal@24766 15 BUILD_DEPENDS="automake fuse2-dev gcc83 libmtp-dev"
Hans-G?nter@21642 16
Hans-G?nter@21642 17 HOST_ARCH="i486 arm"
Hans-G?nter@21642 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24299 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
Hans-G?nter@21642 25 # Rules to configure and make the package.
Hans-G?nter@21642 26 compile_rules()
Hans-G?nter@21642 27 {
Hans-G?nter@21642 28 export CC=gcc-83
Hans-G?nter@21642 29 export CXX=g++-83
Hans-G?nter@21642 30
Hans-G?nter@21642 31 ./autogen.sh &&
Hans-G?nter@21642 32 mkdir build &&
Hans-G?nter@21642 33 cd build &&
Hans-G?nter@21642 34
Hans-G?nter@21642 35 ../configure \
Hans-G?nter@21642 36 --prefix=/usr \
Hans-G?nter@21642 37 $CONFIGURE_ARGS &&
Hans-G?nter@21642 38 make &&
Hans-G?nter@21642 39 make install
Hans-G?nter@21642 40 }
Hans-G?nter@21642 41
Hans-G?nter@21642 42 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@21642 43 genpkg_rules()
Hans-G?nter@21642 44 {
Hans-G?nter@21642 45 mkdir -p $fs/usr
Hans-G?nter@21642 46 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21642 47 }