wok view btfs/receipt @ rev 25665

Up advancecomp (2.6), apache (2.4.58), apache-mod-perl (2.0.13), apache-mod-wsgi (5.0.0), apr (1.7.4), awstats (7.9), gzip (1.13), zbar (0.23.93), zlib (1.3.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 19:18:54 2024 +0000 (12 months ago)
parents ac8ca9758df1
children
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 fuse2 libtorrent-rasterbar libcurl libboost-system libatomic"
14 BUILD_DEPENDS="fuse2-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 }