wok-current rev 24115
Add btfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 02 18:06:47 2021 +0000 (2021-10-02) |
parents | d8c28080cd55 |
children | eb5fb6d1c4c0 |
files | btfs/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/btfs/receipt Sat Oct 02 18:06:47 2021 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="btfs" 1.7 +VERSION="2.24" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="A bittorrent filesystem based on FUSE." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/johang/btfs" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="gcc83-lib-base fuse libtorrent libcurl libboost-system libatomic" 1.17 +BUILD_DEPENDS="fuse-dev libtorrent-dev curl-dev automake autoconf gcc83" 1.18 +SUGGESTED="python vlc" 1.19 + 1.20 +current_version() 1.21 +{ 1.22 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.23 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + autoreconf -i 1.30 + ./configure --prefix=/usr \ 1.31 + CC=gcc-83 \ 1.32 + CXX=g++-83 \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && 1.35 + make DESTDIR=$DESTDIR install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr/lib 1.42 + cp -a $install/usr/bin $fs/usr 1.43 +}