# Maintainer: Manuel Rotter pkgname=dropbear pkgver=0.52 pkgrel=1 pkgdesc="A small SSH Server/Client" arch=(arm) url="http://matt.ucc.asn.au/dropbear/" license=('custom') groups=('small-base') depends=('zlib') conflicts=('openssh') source=(http://matt.ucc.asn.au/dropbear/releases/dropbear-0.52.tar.bz2) md5sums=('a1fc7adf601bca53330a792a9c873439') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --disable-shadow \ --disable-lastlog --disable-utmp --disable-utmpx \ --disable-wtmp --disable-wtmpx --disable-loginfunc \ --disable-pututline --disable-pututxline || return 1 make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" \ MULTI=1 || return 1 cd $pkgdir mkdir -p usr/bin install -m644 $srcdir/$pkgname-$pkgver/dropbearmulti usr/bin/ ln -s usr/bin/dropbearmulti usr/bin/dropbear ln -s usr/bin/dropbearmulti usr/bin/dbclient ln -s usr/bin/dropbearmulti usr/bin/dropbearkey ln -s usr/bin/dropbearmulti usr/bin/dropbearconvert ln -s usr/bin/dropbearmulti usr/bin/scp }