testing/rlwrap: new aport

A readline wrapper
https://github.com/hanslub42/rlwrap
This commit is contained in:
Natanael Copa 2017-07-17 09:03:34 +00:00
parent 97544a0209
commit 5fde153f47

39
testing/rlwrap/APKBUILD Normal file
View File

@ -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"