diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-10-19 14:40:10 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-10-19 14:40:10 +0000 |
commit | ea1d2187ea42928c1200d87ff6856e0107a70c99 (patch) | |
tree | 7b1b6fdff7ad4de6d27a529f6cff6c7e73274736 /testing/ckermit | |
parent | d8ef03e0e2249379861ca6c932efc41bb0cac958 (diff) | |
download | aports-ea1d2187ea42928c1200d87ff6856e0107a70c99.tar.bz2 aports-ea1d2187ea42928c1200d87ff6856e0107a70c99.tar.xz |
testing/ckermit: new aport. Fixes bug #1341
Diffstat (limited to 'testing/ckermit')
-rw-r--r-- | testing/ckermit/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/ckermit/APKBUILD b/testing/ckermit/APKBUILD new file mode 100644 index 0000000000..ed5430e819 --- /dev/null +++ b/testing/ckermit/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +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="" +depends_dev="ncurses-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://www.kermitproject.org/ftp/kermit/archives/cku302.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" |