updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / netkit-telnet-ssl / PKGBUILD
blob78b763bcb7ca6b187976deefa4e278497618219d
1 # Maintainer: <alexandre.becoulet@free.fr>
2 # Contributor: <netbug@ftp.uk.linux.org>
3 # Contributor: Fluke <fluke.l at gmail.com>
4 pkgname=netkit-telnet-ssl
5 pkgver=0.17.24+0.1
6 pkgrel=2
7 pkgdesc="telnet client and server with ssl enabled"
8 arch=('i686' 'x86_64')
9 license=('BSD')
10 url=("http://www.hcs.harvard.edu/~dholland/computers/netkit.html")
11 source=(http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
12         netkit-telnet-ssl-0.17.24+0.1_arch.diff
13         telnet.xinetd)
14 depends=('glibc' 'openssl' 'ncurses')
15 md5sums=('43a402139ed6b86434fdb83256feaad8'
16         'd51bf898269a79a2de77d1134516c209'
17         'ca38af6f1346ae90b2cb1e160858b453')
18 install=netkit-telnet-ssl.install
20 build() {
21         cd ${startdir}/src/$pkgname-$pkgver.orig
22         patch -p1 < ../netkit-telnet-ssl-0.17.24+0.1_arch.diff
23         ./configure --prefix=/usr --installroot=$startdir/pkg
24         make || return 1
25         mkdir -p $startdir/pkg/usr/{bin,sbin,man/man1,man/man5,man/man8} $startdir/pkg/etc/xinetd.d
27         make install || return 1
28         install -m644 $startdir/src/telnet.xinetd $startdir/pkg/etc/xinetd.d/telnet-ssl