wok view simple-mtpfs/receipt @ rev 24212
updated perl-file-slurp (9999.30 -> 9999.32)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:13:01 2021 +0100 (2021-12-31) |
parents | 3b3749beba6d |
children | ac8ca9758df1 |
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*}/releases 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 }