SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "obexfs"

# SliTaz package receipt.

PACKAGE="obexfs"
VERSION="0.12"
CATEGORY="system-tools"
SHORT_DESC="OBEX File System for FUSE."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/zuckschwerdt/obexfs"
WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
TAGS="bluetooth"

DEPENDS="fuse2 obexftp"
BUILD_DEPENDS="fuse2-dev openobex-dev bluez-dev obexftp-dev automake autoconf"

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

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -fi
    automake --add-missing
    ./configure --prefix=/usr \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $install/usr/share/doc
    cp -a $install/usr/bin $fs/usr
    cp -a $src/README $install/usr/share/doc
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)