# SliTaz package receipt. PACKAGE="ori" VERSION="0.8.2" CATEGORY="network" SHORT_DESC="A Secure Distributed File System." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://ori.scs.stanford.edu/" WGET_URL="https://bitbucket.org/orifs/ori/downloads/$TARBALL" DEPENDS="libssl libevent fuse2 liblzma libxml2 util-linux-uuid" # + mDNSResponder BUILD_DEPENDS="wget scons pkg-config libboost-dev libboost-tr1-dev \ util-linux-uuid-dev fuse2-dev libevent-dev openssl-dev gcc49 libedit-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|.*iostream.*|#include \n&|' liboriutil/key.cc scons CC=gcc-49 CXX=g++-49 PREFIX=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }