mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 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
|
|
#we are using dropbears multibinary compilation, so make install won't work
|
|
#just copy the binary and the create the links
|
|
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
|
|
}
|