wok view btfs/receipt @ rev 24556
updated flatpress (0.1010.2 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 14:05:00 2022 +0100 (2022-02-25) |
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 }