summaryrefslogtreecommitdiff
path: root/repo/system/readline.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
commite8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch)
tree8ec5946d18961404efb12700267e10cffffa6db7 /repo/system/readline.xibuild
parent79c82d8fc0a4f6618429a0373bb832afd105543e (diff)
made packages work with musl
Diffstat (limited to 'repo/system/readline.xibuild')
-rw-r--r--repo/system/readline.xibuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/repo/system/readline.xibuild b/repo/system/readline.xibuild
index 4757abd..5b93318 100644
--- a/repo/system/readline.xibuild
+++ b/repo/system/readline.xibuild
@@ -1,6 +1,6 @@
#!/bin/sh
-MAKEDEPS="make "
+MAKEDEPS="make sed"
DEPS="musl ncurses"
PKG_VER=8.1
@@ -16,15 +16,15 @@ prepare () {
build () {
./configure --prefix=/usr \
- --disable-static \
- --with-curses \
- --docdir=/usr/share/doc/readline-8.1
+ --disable-static \
+ --with-curses \
+ --docdir=/usr/share/doc/readline-$PKG_VER
make SHLIB_LIBS="-lncursesw"
}
package () {
make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install
- install -v -m644 doc/*.{ps,pdf,html,dvi} $PKG_DEST/usr/share/doc/readline-8.1
+ install -m644 doc/* $PKG_DEST/usr/share/doc/readline-$PKG_VER
}