wok view lrzsz/receipt @ rev 24590

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 14:39:39 2022 +0000 (2022-02-28)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lrzsz"
4 VERSION="0.12.20"
5 CATEGORY="network"
6 SHORT_DESC="free x/y/zmodem implementation"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://ohse.de/uwe/software/lrzsz.html"
11 WGET_URL="https://ohse.de/uwe/releases/$TARBALL"
13 BUILD_DEPENDS="wget"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make &&
27 make -j 1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }