wok-6.x annotate mosh/receipt @ rev 16539
Up: slitaz-arm-adm (0.6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 28 23:41:11 2014 +0200 (2014-04-28) |
parents | c8f420d47ea8 |
children | 7355f9472def |
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@15180 | 15 DEPENDS="gcc-lib-base perl 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 } |