Upgraded base/readline from 6.3 to 8.2.13 Added scdoc 1.11.3, a documentation dependency for base/kmod to base
39 lines
1,019 B
Bash
39 lines
1,019 B
Bash
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=readline
|
|
version=8.2.13
|
|
build=1sml
|
|
homepage="https://tiswww.case.edu/php/chet/readline/rltop.html"
|
|
download="ftp://ftp.cwru.edu/pub/bash/readline-$version.tar.gz"
|
|
desc="Line input library with editing features"
|
|
requires="ncurses"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
# Thanks alpine linux
|
|
applypatch $srcdir/fix-rl_do_undo-crash.patch
|
|
applypatch $srcdir/fix-ncurses-underlinking.patch
|
|
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-shared
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
94c671de03cd63a8075f4f7ebcdaad3e407eea0ad0e0aa896f32c7740b076505b047b799c618b9a315822df2b390d72c77cc7f4c24ce4ef81260d75eccf53eca readline-8.2.13.tar.lz
|
|
ce1a668581b85d03ffd73aedb0ab6b9bcd7c96a0d17d5fe1282c0a9af0b5782267570e1265f5b6def1cd90554a7c255cc1db8f88d3d58d3d20add13ea322e1f1 fix-rl_do_undo-crash.patch
|
|
"
|