diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-06-21 13:16:28 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-06-21 13:16:28 +0200 |
commit | 22ef4849fd97d1d6f0ae593800e0047b12a8bf82 (patch) | |
tree | c6178dd662cf298202fe0bda7e579676feeee91c /testing/picocom | |
parent | c6961011030378ed21d4b5866f92ead90eb45f69 (diff) | |
download | aports-22ef4849fd97d1d6f0ae593800e0047b12a8bf82.tar.bz2 aports-22ef4849fd97d1d6f0ae593800e0047b12a8bf82.tar.xz |
testing/picocom: new aport
Diffstat (limited to 'testing/picocom')
-rw-r--r-- | testing/picocom/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/picocom/APKBUILD b/testing/picocom/APKBUILD new file mode 100644 index 0000000000..8cbfe515c1 --- /dev/null +++ b/testing/picocom/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: +pkgname=picocom +pkgver=2.1 +pkgrel=0 +pkgdesc="Minimal dumb-terminal emulation program" +url="https://github.com/npat-efault/picocom" +arch="all" +license="GPL2" +depends="" +makedepends="" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/npat-efault/${pkgname}/archive/${pkgver}.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +build() { + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \ + -C "$builddir" || return 1 +} + +package() { + install -Dm755 "$builddir"/$pkgname \ + "$pkgdir"/usr/bin/$pkgname || return 1 + install -Dm644 "$builddir"/$pkgname.1 \ + "$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1 + + local file= + for file in CONTRIBUTORS README.md TODO; do + install -Dm644 "$builddir"/$file \ + "$pkgdir"/usr/share/doc/$pkgname/$file || return 1 + done +} + +md5sums="7cae1424c1279f0f13dee5dcb3de3f45 picocom-2.1.tar.gz" +sha256sums="6b152fc5f816eaef6b86336a4cec7cf1496b7c712061e5aea5a36f143a0b09ed picocom-2.1.tar.gz" +sha512sums="0df692118e3cfa27edd8ff9d5abbde8a9dc02fb015476ab1469337d616eb69411db125a967107276fb50bc58e7b9748429b9ded4943712a082a10827d595c03e picocom-2.1.tar.gz" |