wok-current view btfs/receipt @ rev 24256

updated perl-test-mockmodule (0.172.0 -> 0.177.0)
author Hans-G?nter Theisgen
date Sun Jan 02 10:02:41 2022 +0100 (2022-01-02)
parents 402b08c1fcd0
children ac8ca9758df1
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*}/releases 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 }