From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/readline/readline.xibuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 repo/readline/readline.xibuild (limited to 'repo/readline') diff --git a/repo/readline/readline.xibuild b/repo/readline/readline.xibuild new file mode 100644 index 0000000..5b93318 --- /dev/null +++ b/repo/readline/readline.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +MAKEDEPS="make sed" +DEPS="musl ncurses" + +PKG_VER=8.1 + +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" + + +prepare () { + 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-$PKG_VER + + make SHLIB_LIBS="-lncursesw" +} + +package () { + make SHLIB_LIBS="-lncursesw" DESTDIR=$PKG_DEST install + install -m644 doc/* $PKG_DEST/usr/share/doc/readline-$PKG_VER +} + -- cgit v1.2.1