diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 12:22:07 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 12:22:07 +0000 |
commit | 6b052e1df00357dfdd96966550fa36d3e5741dfd (patch) | |
tree | 3536f1d25b558bcc009ac0681e18e7a5c9e04b01 /community/ckermit/APKBUILD | |
parent | ed882187b3b2b9115fadd7bcf80eee1fe2036fca (diff) | |
download | aports-6b052e1df00357dfdd96966550fa36d3e5741dfd.tar.bz2 aports-6b052e1df00357dfdd96966550fa36d3e5741dfd.tar.xz |
community/ckermit: moved from testing
Diffstat (limited to 'community/ckermit/APKBUILD')
-rw-r--r-- | community/ckermit/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/ckermit/APKBUILD b/community/ckermit/APKBUILD new file mode 100644 index 0000000000..e7cab9e79b --- /dev/null +++ b/community/ckermit/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=ckermit +pkgver=9.0.302 +pkgrel=0 +pkgdesc="Portable scriptable network and serial communication software" +url="http://www.columbia.edu/kermit/ck90.html" +arch="all" +license="custom" +depends="" +makedepends="ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.kermitproject.org/ftp/kermit/archives/cku${pkgver/9.0./}.tar.gz" +_builddir="$srcdir" +build() { + cd "$_builddir" + chmod -R og-rwx ./ + sed -i -e "6057s/\-DUSE_STRERROR/\-DUSE_STRERROR\ -DNOARROWKEYS/" makefile + make linux || return 1 +} + +package() { + cd "$_builddir" + mkdir -m 0755 -p $pkgdir/usr/bin || return 1 + mkdir -m 0755 -p $pkgdir/usr/share/man/man1 || return 1 + + install -Dm644 COPYING.TXT $pkgdir/usr/share/licenses/custom/$pkgname/COPYING.txt + install -m 755 wermit $pkgdir/usr/bin/ckermit || return 1 + install -m 644 ckuker.nr $pkgdir/usr/share/man/man1/ckermit.1 || return 1 + + echo "#!/usr/bin/ckermit" > _tmp.ini + cat ckermit.ini >> _tmp.ini + install -m 755 _tmp.ini $pkgdir/usr/bin/ckermit.ini +} + +md5sums="eac4dbf18b45775e4cdee5a7c74762b0 cku302.tar.gz" +sha256sums="0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711 cku302.tar.gz" +sha512sums="2cfc264e5262d29618fdf218fd3407fd9049b16110972cdddb03d114703b7a0ea13c4b0a354f50c2a9f70d4727732fe4d1920b5c656f969bc56c1eb9dc3c43fa cku302.tar.gz" |