wok view obexfs/receipt @ rev 24093

Up squashfs (4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 27 16:57:54 2021 +0000 (2021-07-27)
parents f1667987074c
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="obexfs"
4 VERSION="0.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="OBEX File System for FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/zuckschwerdt/obexfs"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
12 TAGS="bluetooth"
14 DEPENDS="fuse obexftp"
15 BUILD_DEPENDS="fuse-dev openobex-dev bluez-dev obexftp-dev automake autoconf"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf -fi
27 automake --add-missing
28 ./configure --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr $install/usr/share/doc
38 cp -a $install/usr/bin $fs/usr
39 cp -a $src/README $install/usr/share/doc
40 }