wok-current view obexfs/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | ac8ca9758df1 |
children |
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="fuse2 obexftp"
15 BUILD_DEPENDS="fuse2-dev openobex-dev bluez-dev obexftp-dev automake autoconf"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 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 }