wok-4.x view dropbear/receipt @ rev 189

Add vte and let geany load terminal if installed
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 06 21:29:05 2008 +0100 (2008-02-06)
parents cef0dff31baa
children ccf126429a43
line source
1 # SliTaz package receipt.
3 PACKAGE="dropbear"
4 VERSION="0.50"
5 CATEGORY="extra"
6 SHORT_DESC="Light SSH client and server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html"
10 WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 local i
16 local DROPBEARS
17 DROPBEARS="dropbearkey dropbearconvert dbclient scp"
18 cd $src
19 ./configure --prefix=/usr $CONFIGURE_ARGS
20 make PROGRAMS="dropbear $DROPBEARS" MULTI=1
21 install -d -m 755 $PWD/_pkg/usr/sbin
22 install -m 755 dropbearmulti $PWD/_pkg/usr/sbin/dropbear
23 chown root $PWD/_pkg/usr/sbin/dropbear
24 chgrp 0 $PWD/_pkg/usr/sbin/dropbear
25 install -d -m 755 $PWD/_pkg/usr/bin
26 for i in $DROPBEARS ssh; do
27 ln -s ../sbin/dropbear $PWD/_pkg/usr/bin/$i
28 done
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/sbin $fs/usr
37 strip -s $fs/usr/bin/*
38 strip -s $fs/usr/sbin/*
39 # Config file and init script.
40 mkdir -p $fs/etc
41 cp -a stuff/dropbear $fs/etc
42 cp -a stuff/init.d $fs/etc
43 }
45 # Post message when installing.
46 post_install()
47 {
48 echo -e "\nTo starts $PACKAGE server you can run :\n"
49 echo "/etc/init.d/$PACKAGE start"
50 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
51 }