wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="simple-mtpfs"
4 VERSION="0.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple MTP fuse filesystem driver."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/phatina/simple-mtpfs"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/phatina/$PACKAGE/archive/$TARBALL"
14 DEPENDS="fuse2 libmtp gcc83-lib-base"
15 BUILD_DEPENDS="automake fuse2-dev gcc83 libmtp-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 ./autogen.sh &&
32 mkdir build &&
33 cd build &&
35 ../configure \
36 --prefix=/usr \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 cp -a $install/usr/bin $fs/usr
47 }