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