wok-current view rsh-redone/receipt @ rev 25084
updated p4wn (1.0 -> 2.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:34:03 2022 +0100 (2022-06-15) |
parents | 2121d8b2aa45 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rsh-redone"
4 VERSION="85"
5 CATEGORY="network"
6 SHORT_DESC="Reimplementation of rsh and rlogin"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="https://packages.debian.org/source/sid/rsh-redone"
11 WGET_URL="http://ftp.de.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
12 PROVIDE="rsh rlogin"
14 BUILD_DEPENDS="pam-dev"
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;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make &&
27 make 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 }