diff options
Diffstat (limited to 'package/libcli')
-rw-r--r-- | package/libcli/Config.in | 11 | ||||
-rwxr-xr-x | package/libcli/Makefile | 26 | ||||
-rwxr-xr-x | package/libcli/ipkg/libcli.control | 5 | ||||
-rw-r--r-- | package/libcli/patches/patch-Makefile | 23 |
4 files changed, 65 insertions, 0 deletions
diff --git a/package/libcli/Config.in b/package/libcli/Config.in new file mode 100644 index 000000000..cfec7e4a2 --- /dev/null +++ b/package/libcli/Config.in @@ -0,0 +1,11 @@ +config ADK_PACKAGE_LIBCLI + prompt "libcli............................ A Cisco-like command line interface" + tristate + default n + help + Provides a shared library for including a Cisco-like + command-line interface into other software. It's a telnet + interface which supports command-line editing, history, + authentication and callbacks for a user-definable function tree + + http://libcli.sourceforge.net/ diff --git a/package/libcli/Makefile b/package/libcli/Makefile new file mode 100755 index 000000000..e4d42346c --- /dev/null +++ b/package/libcli/Makefile @@ -0,0 +1,26 @@ +# $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:= libcli +PKG_VERSION:= 1.8.6 +PKG_RELEASE:= 1 +PKG_MD5SUM:= fde7103a3771f550bfd366ee3ca1ef53 + +MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=libcli/} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBCLI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +BUILD_STYLE= auto +INSTALL_STYLE= auto + +post-install: + ${INSTALL_DIR} ${IDIR_LIBCLI}/usr/lib + ${CP} ${WRKINST}/usr/lib/libcli.so.* ${IDIR_LIBCLI}/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libcli/ipkg/libcli.control b/package/libcli/ipkg/libcli.control new file mode 100755 index 000000000..6ef456b59 --- /dev/null +++ b/package/libcli/ipkg/libcli.control @@ -0,0 +1,5 @@ +Package: libcli +Section: libs +Architecture: mipsel +Priority: optional +Description: Provides a shared library for including a Cisco-like command-line interface into other software.
\ No newline at end of file diff --git a/package/libcli/patches/patch-Makefile b/package/libcli/patches/patch-Makefile new file mode 100644 index 000000000..26f11e041 --- /dev/null +++ b/package/libcli/patches/patch-Makefile @@ -0,0 +1,23 @@ +$Id$ +allow CFLAGS overwrite, change some defaults +--- libcli-1.8.6.orig/Makefile 2006-03-07 00:13:11.000000000 +0100 ++++ libcli-1.8.6/Makefile 2007-01-07 21:27:49.000000000 +0100 +@@ -1,14 +1,14 @@ + DESTDIR = +-PREFIX = /usr/local ++PREFIX = /usr + + MAJOR = 1 + MINOR = 8 + REVISION = 6 + LIB = libcli.so + +-CC = gcc +-DEBUG = -g +-OPTIM = -O3 ++#CC := gcc ++#DEBUG = -g ++#OPTIM = -O3 + CFLAGS += $(DEBUG) $(OPTIM) -Wall -Wformat-security -Wno-format-zero-length + LDFLAGS += -shared -Wl,-soname,$(LIB).$(MAJOR).$(MINOR) + LIBPATH += -L. |