wok-6.x annotate btfs/receipt @ rev 24299

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 15 15:21:40 2022 +0000 (2022-01-15)
parents eb5fb6d1c4c0
children b1356f30c0b8
rev   line source
pascal@24115 1 # SliTaz package receipt.
pascal@24115 2
pascal@24115 3 PACKAGE="btfs"
pascal@24115 4 VERSION="2.24"
pascal@24115 5 CATEGORY="system-tools"
pascal@24115 6 SHORT_DESC="A bittorrent filesystem based on FUSE."
pascal@24115 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24115 8 LICENSE="GPL3"
pascal@24115 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24115 10 WEB_SITE="https://github.com/johang/btfs"
pascal@24115 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@24115 12
pascal@24116 13 DEPENDS="gcc83-lib-base fuse libtorrent-rasterbar libcurl libboost-system libatomic"
pascal@24116 14 BUILD_DEPENDS="fuse-dev libtorrent-rasterbar-dev curl-dev automake autoconf gcc83"
pascal@24115 15 SUGGESTED="python vlc"
pascal@24115 16
pascal@24115 17 current_version()
pascal@24115 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24115 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24115 21 }
pascal@24115 22
pascal@24115 23 # Rules to configure and make the package.
pascal@24115 24 compile_rules()
pascal@24115 25 {
pascal@24115 26 autoreconf -i
pascal@24115 27 ./configure --prefix=/usr \
pascal@24115 28 CC=gcc-83 \
pascal@24115 29 CXX=g++-83 \
pascal@24115 30 $CONFIGURE_ARGS &&
pascal@24115 31 make &&
pascal@24115 32 make DESTDIR=$DESTDIR install
pascal@24115 33 }
pascal@24115 34
pascal@24115 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24115 36 genpkg_rules()
pascal@24115 37 {
pascal@24115 38 mkdir -p $fs/usr/lib
pascal@24115 39 cp -a $install/usr/bin $fs/usr
pascal@24115 40 }