wok annotate rsh-redone/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 2121d8b2aa45
children
rev   line source
pascal@21250 1 # SliTaz package receipt.
pascal@21250 2
pascal@21250 3 PACKAGE="rsh-redone"
pascal@21250 4 VERSION="85"
pascal@21250 5 CATEGORY="network"
pascal@21250 6 SHORT_DESC="Reimplementation of rsh and rlogin"
pascal@21250 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21250 8 LICENSE="GPL"
pascal@21250 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
pascal@21250 10 WEB_SITE="https://packages.debian.org/source/sid/rsh-redone"
pascal@21250 11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
pascal@21284 12 PROVIDE="rsh rlogin"
pascal@21250 13
pascal@21250 14 BUILD_DEPENDS="pam-dev"
pascal@21250 15
pascal@24419 16 # What is the latest version available today?
pascal@24419 17 current_version()
pascal@24419 18 {
pascal@24419 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 20 sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 21 }
pascal@24419 22
pascal@21250 23 # Rules to configure and make the package.
pascal@21250 24 compile_rules()
pascal@21250 25 {
pascal@21250 26 make &&
pascal@21250 27 make DESTDIR=$DESTDIR install
pascal@21250 28 }
pascal@21250 29
pascal@21250 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21250 31 genpkg_rules()
pascal@21250 32 {
pascal@21250 33 mkdir -p $fs/usr
pascal@21250 34 cp -a $install/usr/bin $fs/usr
pascal@21250 35 }