SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "simple-mtpfs"

# SliTaz package receipt.

PACKAGE="simple-mtpfs"
VERSION="0.3.0"
CATEGORY="system-tools"
SHORT_DESC="Simple MTP fuse filesystem driver."
MAINTAINER="developer@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/phatina/simple-mtpfs"

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

DEPENDS="fuse2 libmtp gcc83-lib-base"
BUILD_DEPENDS="automake fuse2-dev gcc83 libmtp-dev"

HOST_ARCH="i486 arm"

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()
{
    export    CC=gcc-83
    export    CXX=g++-83

    ./autogen.sh &&
    mkdir    build &&
    cd    build &&

    ../configure        \
        --prefix=/usr    \
        $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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)