diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-09 02:02:40 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-09 02:02:40 +0000 |
commit | 8a3128ad36df0938e1bb57214e9860febccb6303 (patch) | |
tree | 1391734605da2a8102606dafe9ef2ff93acdddd2 | |
parent | 916ab4ab3a2314f0f7701d46d9ad3828af9e9735 (diff) | |
parent | 64a65cee087115e72dd08e0e2a95d517958b033e (diff) | |
download | packages-8a3128ad36df0938e1bb57214e9860febccb6303.tar.gz packages-8a3128ad36df0938e1bb57214e9860febccb6303.tar.bz2 packages-8a3128ad36df0938e1bb57214e9860febccb6303.tar.xz packages-8a3128ad36df0938e1bb57214e9860febccb6303.zip |
Merge branch 'picocom' into 'master'
user/picocom: New package
Requires abuild 3.3.
See merge request !194
-rw-r--r-- | user/picocom/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/user/picocom/APKBUILD b/user/picocom/APKBUILD new file mode 100644 index 000000000..274d2e894 --- /dev/null +++ b/user/picocom/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Luis Ressel <aranea@aixah.de> +# Maintainer: Luis Ressel <aranea@aixah.de> +pkgname=picocom +pkgver=3.1 +pkgrel=0 +pkgdesc="Minimal dumb-terminal emulation program" +url="https://github.com/npat-efault/picocom" +arch="all" +options="!check" # No test suite +license="BSD-2-Clause AND GPL-2.0+" +depends="" +makedepends="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/npat-efault/picocom/archive/$pkgver.tar.gz" + +build() { + # TODO: -DNO_CUSTOM_BAUD can be removed with the next picocom release + env CPPFLAGS="$CPPFLAGS -DNO_CUSTOM_BAUD" make +} + +package() { + install -m755 -Dt "$pkgdir/usr/bin" pcasc pcxm pcym pczm picocom + install -m644 -Dt "$pkgdir/usr/share/man/man1" picocom.1 +} + +sha512sums="ff1888494ae0e24a151e19ac3abcdbb499e42eb1abcea401a7c6c3b532be3d64ddd81a511641d1ce0119dc5da3d2804ce8eaff262a9d578bfe8e22fdf6e55ad1 picocom-3.1.tar.gz" |