PKGBUILDs/core/dropbear/PKGBUILD
2009-10-09 22:25:07 -05:00

32 lines
1.1 KiB
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
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
}