wok view ori/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 241fb98cab1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ori"
4 VERSION="0.8.2"
5 CATEGORY="network"
6 SHORT_DESC="A Secure Distributed File System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://ori.scs.stanford.edu/"
11 WGET_URL="https://bitbucket.org/orifs/ori/downloads/$TARBALL"
13 DEPENDS="libssl libevent fuse2 liblzma libxml2 util-linux-uuid" # + mDNSResponder
14 BUILD_DEPENDS="wget scons pkg-config libboost-dev libboost-tr1-dev \
15 util-linux-uuid-dev fuse2-dev libevent-dev openssl-dev gcc49 libedit-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|.*iostream.*|#include <system_error>\n&|' liboriutil/key.cc
28 scons CC=gcc-49 CXX=g++-49 PREFIX=$DESTDIR/usr install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }