From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/readline/Config.in | 21 +++++++++++++++++++++ package/readline/Makefile | 29 +++++++++++++++++++++++++++++ package/readline/ipkg/libreadline.control | 5 +++++ 3 files changed, 55 insertions(+) create mode 100644 package/readline/Config.in create mode 100644 package/readline/Makefile create mode 100644 package/readline/ipkg/libreadline.control (limited to 'package/readline') 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 -- cgit v1.2.3