PKGBUILDs/core/dropbear/PKGBUILD
2009-09-26 10:58:33 -05:00

33 lines
1.1 KiB
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
# Modified by OpenPogo
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=/opt --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 opt/bin
install -m644 $srcdir/$pkgname-$pkgver/dropbearmulti opt/bin/
ln -s opt/bin/dropbearmulti opt/bin/dropbear
ln -s opt/bin/dropbearmulti opt/bin/dbclient
ln -s opt/bin/dropbearmulti opt/bin/dropbearkey
ln -s opt/bin/dropbearmulti opt/bin/dropbearconvert
ln -s opt/bin/dropbearmulti opt/bin/scp
}