summaryrefslogtreecommitdiff
path: root/system/libedit/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/libedit/APKBUILD')
-rw-r--r--system/libedit/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/system/libedit/APKBUILD b/system/libedit/APKBUILD
index f5d3bf0d2..899ee01ab 100644
--- a/system/libedit/APKBUILD
+++ b/system/libedit/APKBUILD
@@ -9,12 +9,20 @@ arch="all"
license="BSD-2-Clause"
depends=""
depends_dev="ncurses-dev" # XXX is this always unconditionally needed?
-makedepends="$depends_dev"
+makedepends="$depends_dev autoconf automake"
install=""
subpackages="$pkgname-dev $pkgname-doc"
-source="http://thrysoee.dk/editline/libedit-20180525-3.1.tar.gz"
+source="http://thrysoee.dk/editline/libedit-20180525-3.1.tar.gz
+ tinfo.patch
+ "
builddir="$srcdir/$pkgname-20180525-3.1"
+prepare() {
+ cd "$builddir"
+ default_prepare
+ autoreconf -v -f --install
+}
+
build() {
cd "$builddir"
./configure \
@@ -37,4 +45,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="63b4dae3f0a71714ba66c074d6cf9b49dbc82dd795f1290ca978cfe3cb57944dffb6d89d275f9bbb200b4672b5a1101d9e62ebf492a83bb7f795b2e4d9d3d2ea libedit-20180525-3.1.tar.gz"
+sha512sums="63b4dae3f0a71714ba66c074d6cf9b49dbc82dd795f1290ca978cfe3cb57944dffb6d89d275f9bbb200b4672b5a1101d9e62ebf492a83bb7f795b2e4d9d3d2ea libedit-20180525-3.1.tar.gz
+b9cfb07733d14339cfb053b5c4249b74486268005474f65f377e412e5cccbe29d3ce55663a9795db0b682155084cca5a9424de348c7defdc8698dea042c2a674 tinfo.patch"