summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-17 20:05:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-17 20:05:56 -0500
commit6f806c9d0846a877fb9484b005022469217106d2 (patch)
tree12101c502f337a0086a017716e11a8b7afd599a9 /system
parent196531f9fad0e3bbab11d5e10e1d457e8d59e841 (diff)
downloadpackages-6f806c9d0846a877fb9484b005022469217106d2.tar.gz
packages-6f806c9d0846a877fb9484b005022469217106d2.tar.bz2
packages-6f806c9d0846a877fb9484b005022469217106d2.tar.xz
packages-6f806c9d0846a877fb9484b005022469217106d2.zip
system/libedit: new package
Diffstat (limited to 'system')
-rw-r--r--system/libedit/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/system/libedit/APKBUILD b/system/libedit/APKBUILD
new file mode 100644
index 000000000..97275513f
--- /dev/null
+++ b/system/libedit/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libedit
+pkgver=3.1_p20180525
+pkgrel=0
+pkgdesc="Library providing line editing, history, and tokenisation functions"
+url="http://thrysoee.dk/editline/"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="ncurses-dev" # XXX is this always unconditionally needed?
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://thrysoee.dk/editline/libedit-20180525-3.1.tar.gz"
+builddir="$srcdir/$pkgname-20180525-3.1"
+
+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="63b4dae3f0a71714ba66c074d6cf9b49dbc82dd795f1290ca978cfe3cb57944dffb6d89d275f9bbb200b4672b5a1101d9e62ebf492a83bb7f795b2e4d9d3d2ea libedit-20180525-3.1.tar.gz"