wok view sshrc/receipt @ rev 22781

updated freetype and freetype-dev (2.6.4 -> 2.10.1)
author Hans-G?nter Theisgen
date Sun Jan 26 09:26:49 2020 +0100 (2020-01-26)
parents cbe6377bc83a
children d1f85e376665
line source
1 # SliTaz package receipt.
3 PACKAGE="sshrc"
4 VERSION="0.6.2"
5 CATEGORY="network"
6 TAGS="ssh"
7 SHORT_DESC="bring your .bashrc, .vimrc, etc. with you when you ssh"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/Russell91/sshrc"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/Russell91/sshrc/archive/$VERSION.tar.gz"
15 DEPENDS="bash openssl"
16 SUGGESTED="mosh"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p $fs/usr/bin $install/usr/share/doc
22 cp $src/README.md $install/usr/share/doc
23 cp -a $src/*shrc $fs/usr/bin
25 # dropbear compatibility
26 sed -i 's/-b | -c/& | -B | -K | -J/' $fs/usr/bin/sshrc
28 # remove xxd dependancy
29 sed -i -e 's|command -v xxd|command -v openssl|' \
30 -e 's|sshrc requires xxd|moshrc requires openssl|' \
31 -e "s/| xxd -p -r/| tr -s ' ' \$'\\\\n' | openssl enc -base64 -d/" \
32 -e 's|xxd -p|openssl enc -base64|' \
33 -e "s|\\\$'\\\$(|\$'\"\$(|" -e "s|)'|)\"'|" $fs/usr/bin/moshrc
34 }