forked from lijiext/lammps
add missing pkg-config file for readline
This commit is contained in:
parent
4520eef1b0
commit
c08089c1a7
|
@ -48,6 +48,21 @@ From: centos:7
|
|||
cd ../../
|
||||
rm -rvf plumed
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib64/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib64
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 6.2
|
||||
Requires.private: ncurses
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
|
@ -54,6 +54,21 @@ From: centos:8
|
|||
cd ../../
|
||||
rm -rvf plumed
|
||||
|
||||
# create missing readline pkgconfig file
|
||||
cat > /usr/lib64/pkgconfig/readline.pc <<EOF
|
||||
prefix=/usr
|
||||
exec_prefix=/usr
|
||||
libdir=/usr/lib64
|
||||
includedir=/usr/include
|
||||
|
||||
Name: Readline
|
||||
Description: GNU Readline library for command line editing
|
||||
URL: http://tiswww.cwru.edu/php/chet/readline/rltop.html
|
||||
Version: 7.0
|
||||
Requires.private: ncurses
|
||||
Libs: -L\${libdir} -lreadline
|
||||
Cflags: -I\${includedir}/readline
|
||||
EOF
|
||||
# set custom prompt indicating the container name
|
||||
CUSTOM_PROMPT_ENV=/.singularity.d/env/99-zz_custom_prompt.sh
|
||||
cat >$CUSTOM_PROMPT_ENV <<EOF
|
||||
|
|
Loading…
Reference in New Issue