summaryrefslogtreecommitdiff
path: root/xibuilds/readline.xibuild
blob: 2721677862b1050f5d4d41c527a3db75d7c572a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

DEPS=(glibc ncurses)

SOURCE=https://git.savannah.gnu.org/git/readline.git


build () {
    ./configure --prefix=/usr \
 --disable-static \
 --with-curses \
 --docdir=/usr/share/doc/readline-8.1
    
    make SHLIB_LIBS="-lncursesw"
    make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install

    install -v -m644 doc/*.{ps,pdf,html,dvi} $PKG_DEST/usr/share/doc/readline-8.1
}