wok-6.x annotate mosh/receipt @ rev 15179

Add mosh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 20 11:55:00 2013 +0000 (2013-08-20)
parents
children 10c1de772cf6
rev   line source
pascal@15179 1 # SliTaz package receipt.
pascal@15179 2
pascal@15179 3 PACKAGE="mosh"
pascal@15179 4 VERSION="1.2.4"
pascal@15179 5 CATEGORY="security"
pascal@15179 6 SHORT_DESC="A Openbsd Secure Shell remplacement."
pascal@15179 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15179 8 LICENSE="GPL3"
pascal@15179 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15179 10 WEB_SITE="http://mosh.mit.edu/"
pascal@15179 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@15179 12 PROVIDE="ssh"
pascal@15179 13 TAGS="ssh"
pascal@15179 14
pascal@15179 15 DEPENDS="protobuf libssl libcrypto zlib ncursesw"
pascal@15179 16 BUILD_DEPENDS="pkg-config protobuf-dev openssl-dev libcrypto-dev zlib-dev ncursesw-dev"
pascal@15179 17
pascal@15179 18 # Rules to configure and make the package.
pascal@15179 19 compile_rules()
pascal@15179 20 {
pascal@15179 21 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@15179 22 --enable-compile-warnings=error &&
pascal@15179 23 make &&
pascal@15179 24 make DESTDIR=$DESTDIR install
pascal@15179 25 }
pascal@15179 26
pascal@15179 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15179 28 genpkg_rules()
pascal@15179 29 {
pascal@15179 30 mkdir -p $fs/usr
pascal@15179 31 cp -a $install/usr/bin $fs/usr
pascal@15179 32 }