summaryrefslogtreecommitdiff
path: root/package/readline
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/readline
Initial import
Diffstat (limited to 'package/readline')
-rw-r--r--package/readline/Config.in21
-rw-r--r--package/readline/Makefile29
-rw-r--r--package/readline/ipkg/libreadline.control5
3 files changed, 55 insertions, 0 deletions
diff --git a/package/readline/Config.in b/package/readline/Config.in
new file mode 100644
index 000000000..aa126e21f
--- /dev/null
+++ b/package/readline/Config.in
@@ -0,0 +1,21 @@
+config ADK_COMPILE_READLINE
+ tristate
+ default n
+ depends ADK_PACKAGE_LIBREADLINE
+
+config ADK_PACKAGE_LIBREADLINE
+ prompt "libreadline....................... Command lines edition library"
+ tristate
+ default n
+ select ADK_COMPILE_READLINE
+ select ADK_PACKAGE_LIBNCURSES
+ help
+ The Readline library provides a set of functions for use by applications
+ that allow users to edit command lines as they are typed in. Both Emacs
+ and vi editing modes are available. The Readline library includes
+ additional functions to maintain a list of previously-entered command
+ lines, to recall and perhaps reedit those lines, and perform csh-like
+ history expansion on previous commands.
+
+ http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
+
diff --git a/package/readline/Makefile b/package/readline/Makefile
new file mode 100644
index 000000000..43f6f124c
--- /dev/null
+++ b/package/readline/Makefile
@@ -0,0 +1,29 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= readline
+PKG_VERSION:= 5.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e39331f32ad14009b9ff49cc10c5e751
+MASTER_SITES:= ${MASTER_SITE_GNU:=readline/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ARGS+= --with-curses
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libhistory.so.* ${IDIR_LIBREADLINE}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libreadline.so.* ${IDIR_LIBREADLINE}/usr/lib/
+ chmod u+w ${IDIR_LIBREADLINE}/usr/lib/*
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/readline/ipkg/libreadline.control b/package/readline/ipkg/libreadline.control
new file mode 100644
index 000000000..39946d6a2
--- /dev/null
+++ b/package/readline/ipkg/libreadline.control
@@ -0,0 +1,5 @@
+Package: libreadline
+Priority: optional
+Section: libs
+Depends: libncurses
+Description: Command lines edition library