wok annotate mtpfs/receipt @ rev 25051
Up terminology (0.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 10:44:35 2022 +0000 (2022-06-05) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
keupont@2885 | 1 # SliTaz package receipt. |
keupont@2885 | 2 |
keupont@2885 | 3 PACKAGE="mtpfs" |
Hans-G?nter@23200 | 4 VERSION="2.0" |
keupont@2885 | 5 CATEGORY="multimedia" |
Hans-G?nter@23200 | 6 SHORT_DESC="FUSE filesystem that supports reading and writing from any MTP device." |
keupont@2885 | 7 MAINTAINER="keupont@no-log.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@20671 | 9 WEB_SITE="https://www.adebenham.com/mtpfs/" |
Hans-G?nter@23200 | 10 |
pascal@14999 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23200 | 12 WGET_URL="https://github.com/Feandil/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@14999 | 13 |
pascal@24766 | 14 DEPENDS="fuse2 libgio libid3tag libmad libmtp" |
pascal@24766 | 15 BUILD_DEPENDS="autoconf automake fuse2-dev libid3tag-dev libmad-dev libmtp-dev" |
keupont@2885 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
keupont@2885 | 23 # Rules to configure and make the package. |
keupont@2885 | 24 compile_rules() |
keupont@2885 | 25 { |
Hans-G?nter@23200 | 26 aclocal && |
Hans-G?nter@23200 | 27 autoconf && |
Hans-G?nter@23200 | 28 automake -a && |
Hans-G?nter@23200 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@23200 | 30 make && |
Hans-G?nter@23200 | 31 make install |
keupont@2885 | 32 } |
keupont@2885 | 33 |
keupont@2885 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2885 | 35 genpkg_rules() |
keupont@2885 | 36 { |
keupont@2885 | 37 mkdir -p $fs/usr |
Hans-G?nter@23200 | 38 cp -a $install/usr/bin $fs/usr |
keupont@2885 | 39 } |