wok-current view rsbep/receipt @ rev 24916
updated monkey and monkey-dev (1.5.6 -> 1.6.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 17:53:54 2022 +0100 (2022-04-09) |
parents | 23c3aed67cd9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsbep"
4 VERSION="0.1.0-ttsiodras"
5 CATEGORY="misc"
6 SHORT_DESC="Shielding your files with Reed-Solomon codes."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://users.softlab.ntua.gr/~ttsiod/rsbep.html"
11 WGET_URL="http://users.softlab.ntua.gr/~ttsiod/$TARBALL"
13 SUGGESTED="python"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/ttsiodras/rsbep-backup/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure --prefix=/usr --mandir=/usr/share/man \
27 --localstatedir=/var \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }