wok view ori/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents 4e8d50d02b70
children 72f2704d3ae0
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 fuse liblzma libxml2 util-linux-uuid" # + mDNSResponder
14 BUILD_DEPENDS="wget scons pkg-config libboost-dev libboost-tr1-dev \
15 util-linux-uuid-dev fuse-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 }