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