Skip to content
Snippets Groups Projects
Commit b6b80960 authored by Thomas Gatzweiler's avatar Thomas Gatzweiler
Browse files

Add recipe for readline

parent 5a746d52
No related branches found
No related tags found
1 merge request!68Add recipe for readline
diff -ru source/support/config.sub source-new/support/config.sub
--- source/support/config.sub 2013-12-17 16:49:47.000000000 +0100
+++ source-new/support/config.sub 2017-08-14 09:09:20.158401733 +0200
@@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2013 Free Software Foundation, Inc.
-timestamp='2013-10-01'
+timestamp='2017-08-14'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1351,7 +1351,7 @@
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* | -redox* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \
VERSION=7.0
TAR=http://ftp.gnu.org/gnu/readline/readline-$VERSION.tar.gz
BUILD_DEPENDS=(ncurses)
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
sysroot="${PWD}/../sysroot"
export LDFLAGS="-L$sysroot/lib"
export CFLAGS="-I$sysroot/include"
./configure --disable-shared --host=${HOST} --prefix=""
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
rm -rf "$1"/share/{doc,info,man}
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment