wok annotate rsbep/receipt @ rev 25513

memtest: update sleep()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 15:41:57 2023 +0000 (21 months ago)
parents 23c3aed67cd9
children
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="rsbep"
pascal@11227 4 VERSION="0.1.0-ttsiodras"
pascal@11227 5 CATEGORY="misc"
pascal@11227 6 SHORT_DESC="Shielding your files with Reed-Solomon codes."
pascal@11227 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="GPL2"
pascal@11227 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11227 10 WEB_SITE="http://users.softlab.ntua.gr/~ttsiod/rsbep.html"
pascal@11227 11 WGET_URL="http://users.softlab.ntua.gr/~ttsiod/$TARBALL"
pascal@11227 12
pascal@11227 13 SUGGESTED="python"
pascal@11227 14
pascal@24459 15 # What is the latest version available today?
pascal@24459 16 current_version()
pascal@24459 17 {
pascal@24459 18 wget -O - https://github.com/ttsiodras/rsbep-backup/tags 2>/dev/null | \
pascal@24459 19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24459 20 }
pascal@24459 21
pascal@11227 22 # Rules to configure and make the package.
pascal@11227 23 compile_rules()
pascal@11227 24 {
pascal@11227 25 cd $src
pascal@11227 26 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@11227 27 --localstatedir=/var \
pascal@11227 28 $CONFIGURE_ARGS &&
pascal@11227 29 make &&
pascal@11227 30 make DESTDIR=$DESTDIR install
pascal@11227 31 }
pascal@11227 32
pascal@11227 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 34 genpkg_rules()
pascal@11227 35 {
pascal@11227 36 mkdir -p $fs/usr
pascal@15601 37 cp -a $install/usr/bin $fs/usr
pascal@11227 38 }