wok-current annotate obexfs/receipt @ rev 24300
updated tcsh (6.22.02 -> 6.23.02)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 15 16:54:59 2022 +0100 (2022-01-15) |
parents | 5ea0ce1cecc0 |
children | 72f2704d3ae0 |
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@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 } |