wok view simple-mtpfs/receipt @ rev 24560

updated fossil (2.12.1 -> 2.18)
author Hans-G?nter Theisgen
date Fri Feb 25 16:12:40 2022 +0100 (2022-02-25)
parents 5ea0ce1cecc0
children 72f2704d3ae0
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="fuse libmtp gcc83-lib-base"
15 BUILD_DEPENDS="automake fuse-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 }