opt/dropbear/Pkgfile

24 lines
572 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Small and secure SSH2 server and client
# URL: http://matt.ucc.asn.au/dropbear/dropbear.html
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2006-02-23 16:26:10 +01:00
# Depends on: zlib
name=dropbear
version=2017.75
2015-12-03 18:14:19 +01:00
release=1
2011-03-03 10:05:44 +01:00
source=(http://matt.ucc.asn.au/$name/releases/$name-$version.tar.bz2 \
2006-02-23 16:26:10 +01:00
$name)
build () {
cd $name-$version
2013-04-19 17:15:57 +02:00
sed -i 's|libexec|lib/ssh|; s|bin/X11|bin|' options.h
2015-11-26 10:05:42 +01:00
./configure --prefix=/usr
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
install -d $PKG/etc/{rc.d,dropbear}/
install -D -m 755 $SRC/dropbear $PKG/etc/rc.d/
2006-02-23 16:26:10 +01:00
}