[Lunar-commits] <moonbase> readline: Dynamic linking against ncurses

Stefan Wold ratler at lunar-linux.org
Mon Dec 6 07:50:45 CET 2010


commit f1d10e0e0c3ecfd814453573a00eecfc8d161d11
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sun Dec 5 11:14:46 2010 +0100

    readline: Dynamic linking against ncurses
---
 libs/readline/BUILD   |    4 +++-
 libs/readline/DEPENDS |    1 +
 libs/readline/DETAILS |    2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/libs/readline/BUILD b/libs/readline/BUILD
index c08b33d..e1594d6 100644
--- a/libs/readline/BUILD
+++ b/libs/readline/BUILD
@@ -20,7 +20,9 @@
               --prefix=/usr               \
               --mandir=/usr/share/man     \
               --infodir=/usr/share/info  &&
-  default_make                           &&
+  make SHLIB_LIBS=-lncurses &&
+  prepare_install &&
+  make install &&
   if [ ! -e /etc/inputrc ] ; then
     install $SCRIPT_DIRECTORY/inputrc /etc/
   fi  &&
diff --git a/libs/readline/DEPENDS b/libs/readline/DEPENDS
new file mode 100644
index 0000000..5764a9c
--- /dev/null
+++ b/libs/readline/DEPENDS
@@ -0,0 +1 @@
+depends ncurses
diff --git a/libs/readline/DETAILS b/libs/readline/DETAILS
index 302319f..efa0924 100644
--- a/libs/readline/DETAILS
+++ b/libs/readline/DETAILS
@@ -7,7 +7,7 @@
       SOURCE_VFY=sha1:54840a0dc907e7fa598d7ffcdcbd17bae69ace83
         WEB_SITE=http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
          ENTERED=20010922
-         UPDATED=20100119
+         UPDATED=20101205
            SHORT="Lets users edit command lines as they are typed in"
 
 cat << EOF


More information about the Lunar-commits mailing list