From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/readline.xibuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'repo/system/readline.xibuild') diff --git a/repo/system/readline.xibuild b/repo/system/readline.xibuild index 4c1f4ed..db34667 100644 --- a/repo/system/readline.xibuild +++ b/repo/system/readline.xibuild @@ -8,18 +8,22 @@ SOURCE=https://ftp.gnu.org/gnu/readline/readline-$PKG_VER.tar.gz DESC="a set of libraries that offer command line editing and history capabilities" -build () { +patch () { sed -i '/MV.*old/d' Makefile.in sed -i '/{OLDSUFF}/c:' support/shlib-install +} +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 +} +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 } -- cgit v1.2.1