user/tn5250: new package

parent b169c093
# Contributor: John Kisch <john@kisch.us>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=tn5250
pkgver=0.17.4
pkgrel=0
pkgdesc="Telnet client for the IBM iSeries and AS/400 that emulates 5250 terminals and printers"
url="http://tn5250.sourceforge.net/"
arch="all"
license="LGPL-2.1+"
depends=""
depends_dev=""
makedepends="$depends_dev ncurses-dev openssl-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/tn5250/tn5250/$pkgver/tn5250-$pkgver.tar.gz"
prepare() {
autoreconf -fvi
default_prepare
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make CFLAGS="-ltinfow"
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="7c41bc47658f792fe7c6c6186d93095ac2eca67868070d84502bcff7de0cbc97afea1bd9987d2dbc5a340a444fdf1fbff81c7b844f5c205ec603f24c5e6c0804 tn5250-0.17.4.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment