diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2012-12-13 08:10:34 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2012-12-13 08:46:28 +0000 |
commit | af4e35a2a894645b516854193511ba48094e6df2 (patch) | |
tree | e28475ec0c56fcde97547962a57718102440c702 /testing/mosh/APKBUILD | |
parent | 211878602958074a1d66095f7da5c601b48b35af (diff) | |
download | aports-af4e35a2a894645b516854193511ba48094e6df2.tar.bz2 aports-af4e35a2a894645b516854193511ba48094e6df2.tar.xz |
testing/mosh: new aport
Diffstat (limited to 'testing/mosh/APKBUILD')
-rw-r--r-- | testing/mosh/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/mosh/APKBUILD b/testing/mosh/APKBUILD new file mode 100644 index 0000000000..e5c7c4416b --- /dev/null +++ b/testing/mosh/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=mosh +pkgver=1.2.3 +pkgrel=0 +pkgdesc="mobile shell (mosh) surviving disconnects with local echo and line editing" +url="http://mosh.mit.edu" +arch="all" +license="GPL3" +depends="" +depends_dev="ncurses-dev zlib-dev openssl-dev perl perl-io-tty protobuf-dev openssh" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/downloads/keithw/$pkgname/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="39c20391c84e639fcb51581c56cee762 mosh-1.2.3.tar.gz" |