aboutsummaryrefslogtreecommitdiffstats
path: root/testing/editline
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-02 13:18:44 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-11-02 20:02:10 -0300
commit147c48a7afcc6da3517ea3bdcff271051d0d4733 (patch)
treef68e141b37542c3770dc5a1101fe5ddb178f91f5 /testing/editline
parent834342fc60c26309a63aff7a8e33856ad574b35b (diff)
downloadaports-147c48a7afcc6da3517ea3bdcff271051d0d4733.tar.bz2
aports-147c48a7afcc6da3517ea3bdcff271051d0d4733.tar.xz
testing/editline: new aport
https://troglobit.com/projects/editline/ A readline() replacement for UNIX without termcap (ncurses)
Diffstat (limited to 'testing/editline')
-rw-r--r--testing/editline/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/editline/APKBUILD b/testing/editline/APKBUILD
new file mode 100644
index 0000000000..9ecc7a417b
--- /dev/null
+++ b/testing/editline/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=editline
+pkgver=1.16.1
+pkgrel=0
+pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
+url="https://troglobit.com/projects/editline/"
+arch="all"
+license="Spencer-94"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/troglobit/editline/releases/download/$pkgver/editline-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4c4e96c9218ab29c559dc8f0c2ca4015c149c70af1696cd43e7ddb38aba7eb68452a22718932bf40a83d3377ad73d26734109db13ecd4470170ef6fbcab6a9fc editline-1.16.1.tar.xz"