wok-current annotate rsbep/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
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 }