summaryrefslogblamecommitdiff
path: root/experimental/tn5250/APKBUILD
blob: 4aefef589f6f3c52f19912517dd2bd61cf0c693e (plain) (tree)






































                                                                                                                                                                   
# 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=""
makedepends="ncurses-dev openssl-dev"
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"