summaryrefslogtreecommitdiff
path: root/repo/libedit/libedit.xibuild
blob: fe211efb7d9d5e62aa8da498e24199c3f34d5f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

MAKEDEPS="make automake autoconf"
DEPS="musl ncurses"

PKG_VER=20210910.3.1
version=${PKG_VER%%.*}-${PKG_VER#*.}
SOURCE=https://www.thrysoee.dk/editline/libedit-$version.tar.gz
DESC="BSD line editing library"

prepare () {
    autoreconf -fi
}

build () {
    ./configure --prefix=/usr 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}