aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rlwrap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-17 09:03:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-07-17 14:32:46 +0000
commit5fde153f477c3399f124ab8a4df46ced76e720da (patch)
tree5cb6557fd74b64d991d26ca149f1b9029611daba /testing/rlwrap
parent97544a0209db2fcfef7ba6807f7a210b21e480f5 (diff)
downloadaports-5fde153f477c3399f124ab8a4df46ced76e720da.tar.bz2
aports-5fde153f477c3399f124ab8a4df46ced76e720da.tar.xz
testing/rlwrap: new aport
A readline wrapper https://github.com/hanslub42/rlwrap
Diffstat (limited to 'testing/rlwrap')
-rw-r--r--testing/rlwrap/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/rlwrap/APKBUILD b/testing/rlwrap/APKBUILD
new file mode 100644
index 0000000000..b543a3abd3
--- /dev/null
+++ b/testing/rlwrap/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=rlwrap
+pkgver=0.43
+pkgrel=0
+pkgdesc="A readline wrapper"
+url="https://github.com/hanslub42/rlwrap"
+arch="all"
+license="GPLv2"
+depends=""
+depends_dev=""
+makedepends="$depends_dev readline-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://github.com/hanslub42/rlwrap/releases/download/v$pkgver/rlwrap-$pkgver.tar.gz"
+builddir="$srcdir/rlwrap-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4a1440b2eef3a1664c6381eb09c19f4030de2c0ef4f1f3509f7d6e130d3c5e9c3ceb00fc6ea6052b22bbe1f6b162f72e0b47564df34ccecc5220f195c22e86a1 rlwrap-0.43.tar.gz"