3.10. readline-8.1.2
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Configuration
src_config() { sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install ./configure \ --prefix=${PREFIX} \ --disable-static \ --with-curses \ --docdir=${PREFIX}/share/doc/${P} }
Compilation
src_compile() { make SHLIB_LIBS="-lncursesw" ${MAKEOPTS} }
Installation
File inputrc is installed here.
src_install() { make install SHLIB_LIBS="-lncursesw" ${MAKEOPTS} DESTDIR=${D} install -m644 doc/*.ps doc/*.pdf doc/*.html doc/*.dvi \ ${D}${PREFIX}/share/doc/${P} mkdir -p ${D}/etc/ install -m644 ${PATCHDIR}/files/inputrc ${D}/etc/ }
Build code
Other files
Links
- url.lfs: https://linuxfromscratch.org/lfs/view/11.1/chapter08/readline.html
- url.lfs.stage1: