2017-12-09 21:51:48 +01:00
|
|
|
VERSION="7.0"
|
|
|
|
SRCDIR="readline-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
|
|
URL="https://ftp.gnu.org/gnu/readline/"
|
|
|
|
SHA256SUM="750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="ncurses"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-09-02 14:19:23 +02:00
|
|
|
run_configure "$1"
|
2017-12-09 21:51:48 +01:00
|
|
|
make SHLIB_LIBS="-lncursesw" -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
make SHLIB_LIBS="-lncursesw" DESTDIR="$DEPLOY" install
|
2018-06-16 17:46:17 +02:00
|
|
|
cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY"
|
2018-02-17 14:47:42 +01:00
|
|
|
chmod 755 ${DEPLOY}/lib/*
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L $URL | grep -o ">readline-[0-9.]*tar.gz<" | \
|
|
|
|
sed 's/>readline-//g' | sed 's/.tar.gz<//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|