summaryrefslogtreecommitdiff
path: root/user/minicom/APKBUILD
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-28 00:03:19 -0700
committerDan Theisen <djt@hxx.in>2018-09-28 00:03:19 -0700
commit62d4cca68a554565947558a3ce2327e83af98cac (patch)
tree74e558beecb2cb127a1823e3ca860909fa057a5d /user/minicom/APKBUILD
parent33b7c264cc2f69e3e19f32ceb4094e4e266a8c66 (diff)
downloadpackages-62d4cca68a554565947558a3ce2327e83af98cac.tar.gz
packages-62d4cca68a554565947558a3ce2327e83af98cac.tar.bz2
packages-62d4cca68a554565947558a3ce2327e83af98cac.tar.xz
packages-62d4cca68a554565947558a3ce2327e83af98cac.zip
user/minicom: new package
Diffstat (limited to 'user/minicom/APKBUILD')
-rw-r--r--user/minicom/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/minicom/APKBUILD b/user/minicom/APKBUILD
new file mode 100644
index 000000000..d597290e8
--- /dev/null
+++ b/user/minicom/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Dan Theisen <djt@hxx.in>
+pkgname=minicom
+pkgver=2.7.1
+pkgrel=0
+pkgdesc="menu driven communications program for terminals"
+url="https://fossies.org/linux/minicom/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends="ncurses-dev gettext-tiny-dev linux-headers"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://fossies.org/linux/misc/$pkgname-$pkgver.tar.gz
+ fix-includes.patch"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b429b32d187c3ee915c5074a0d0f08b7e3951cb8528ecbdd889837ff301662c16740ad77bd2bf3baf759c0a84e779a8dc8fd888a4260a0ace15ebc4c2f697c82 minicom-2.7.1.tar.gz
+5acff3efb0b8b02333291722044d7c473bf19eec8a26e66c0e0f41895f3e3f071dff13515ec20f7ce17368732e3674f0a42b38602e61b04e9cd70e61012641ff fix-includes.patch"