wok view buffer/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents a511baf85854
children
line source
1 # SliTaz package receipt.
3 PACKAGE="buffer"
4 VERSION="1.19"
5 CATEGORY="system-tools"
6 SHORT_DESC="GPL disaster recovery solution."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mondorescue.org/"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="http://ftp.mondorescue.org/src/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -p1 < $stuff/buffer-1.19.patch || exit 1
27 make
29 cp buffer.man buffer.1
30 cook_pick_manpages buffer.1
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
38 cp -a $src/buffer $fs/usr/bin
39 }