Add libedit to chroot

parent 9863a6a1
# Copyright (c) 2018-2020, Firas Khalil Khana
# Distributed under the terms of the ISC License
# Voyager: Firas Khalil Khana (firasuke) <firasuke@glaucuslinux.org>
prepare() {
$RSYNC $SRCD/$nom/$nom-$ver/ $CSRC/$nom --delete &&
cd $CSRC/$nom &&
$SCRD/gnu guess . &&
$SCRD/gnu sub . &&
$MKDIR $CBLD/$nom &&
cd $CBLD/$nom
} &&
configure() {
$CSRC/$nom/configure \
--prefix=$TOOL \
--disable-static \
--disable-examples
} &&
build() {
$MAKE
} &&
install() {
$MAKE \
install-strip &&
$MKDIR $TOOL/include/readline &&
touch $TOOL/include/readline/history.h &&
touch $TOOL/include/readline/tilde.h &&
$LN ../editline/readline.h $TOOL/include/readline/readline.h &&
$LN $nom.so $TOOL/lib/libreadline.so
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment