CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dropbear: moved from core collection
[attic/ports/opt-cross.git] / dropbear / Pkgfile
1 # Description: Small and secure SSH2 server and client
2 # URL: http://matt.ucc.asn.au/dropbear/dropbear.html
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: zlib
6
7 name=dropbear
8 version=0.53.1
9 release=1
10 source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.gz
11 $name)
12
13 build () {
14 cd $name-$version
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
18
19 make PROGRAMS="dropbear dbclient scp dropbearkey dropbearconvert" SCPPROGRESS=1
20 make DESTDIR=$PKG install
21 install -m 755 scp $PKG/usr/bin
22 install -d $PKG/{etc/{rc.d,$name},usr/man/man{1,8}}
23 install -m 644 dbclient.1 $PKG/usr/man/man1
24 install -m 644 dropbear{.8,key.8} $PKG/usr/man/man8
25 install -m 755 $SRC/$name $PKG/etc/rc.d
26 ln -s dbclient $PKG/usr/bin/ssh
27 }