wok view btfs/receipt @ rev 24441

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