wok annotate obexfs/receipt @ rev 25112
updated patchelf (0.10 -> 0.14.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 15:14:46 2022 +0100 (2022-06-25) |
parents | ac8ca9758df1 |
children |
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@24766 | 14 DEPENDS="fuse2 obexftp" |
pascal@24766 | 15 BUILD_DEPENDS="fuse2-dev openobex-dev bluez-dev obexftp-dev automake autoconf" |
pascal@19909 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 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 } |