wok annotate ori/receipt @ rev 25564

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