Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 15179:c8f420d47ea8

Add mosh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 20 11:55:00 2013 +0000 (14 months ago ago)
parents 07eb534c4186
children 10c1de772cf6
files mosh/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mosh/receipt	Tue Aug 20 11:55:00 2013 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mosh"
     1.7 +VERSION="1.2.4"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="A Openbsd Secure Shell remplacement."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://mosh.mit.edu/"
    1.14 +WGET_URL="${WEB_SITE}$TARBALL"
    1.15 +PROVIDE="ssh"
    1.16 +TAGS="ssh"
    1.17 +
    1.18 +DEPENDS="protobuf libssl libcrypto zlib ncursesw"
    1.19 +BUILD_DEPENDS="pkg-config protobuf-dev openssl-dev libcrypto-dev zlib-dev ncursesw-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure --prefix=/usr --sysconfdir=/etc \
    1.25 +		--enable-compile-warnings=error &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +}