SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mtpfs"

# SliTaz package receipt.

PACKAGE="mtpfs"
VERSION="2.0"
CATEGORY="multimedia"
SHORT_DESC="FUSE filesystem that supports reading and writing from any MTP device."
MAINTAINER="keupont@no-log.org"
LICENSE="GPL3"
WEB_SITE="https://www.adebenham.com/mtpfs/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/Feandil/$PACKAGE/archive/v$VERSION.tar.gz"

DEPENDS="fuse2 libgio libid3tag libmad libmtp"
BUILD_DEPENDS="autoconf automake fuse2-dev libid3tag-dev libmad-dev libmtp-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    aclocal &&
    autoconf &&
    automake -a &&
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin    $fs/usr
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)