wok-next diff rsh/receipt @ rev 20649
grub2-efi: remove duplicate modules (thanks alanyih)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 04 10:48:37 2018 +0200 (2018-05-04) |
parents | 965b0a2c558a |
children | d5aab818505e |
line diff
1.1 --- a/rsh/receipt Sun Nov 02 14:09:33 2014 +0100 1.2 +++ b/rsh/receipt Fri May 04 10:48:37 2018 +0200 1.3 @@ -1,28 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="rsh" 1.8 -SOURCE="rsh-redone" 1.9 VERSION="85" 1.10 CATEGORY="network" 1.11 SHORT_DESC="Reimplementation of rsh and rlogin" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL" 1.14 -TARBALL="${SOURCE}_$VERSION.orig.tar.gz" 1.15 WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" 1.16 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.17 + 1.18 +TARBALL="rsh-redone_$VERSION.orig.tar.gz" 1.19 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/rsh-redone/$TARBALL" 1.20 1.21 BUILD_DEPENDS="pam-dev" 1.22 +SPLIT="rshd" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 make && 1.29 make DESTDIR=$DESTDIR install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/usr 1.36 - cp -a $install/usr/bin $fs/usr 1.37 +genpkg_rules() { 1.38 + case $PACKAGE in 1.39 + rsh) 1.40 + mkdir -p $fs/usr 1.41 + cp -a $install/usr/bin $fs/usr 1.42 + ;; 1.43 + rshd) 1.44 + mkdir -p $fs/usr 1.45 + cp -a $install/usr/sbin $fs/usr 1.46 + cp -a $install/usr/etc $fs 1.47 + CAT="network|rshd and rlogind" 1.48 + DEPENDS="pam" 1.49 + ;; 1.50 + esac 1.51 }