Преглед изворни кода

Add package for buildroot-2014.08

Serj Kalichev пре 10 година
родитељ
комит
9ebc0e860c

+ 0 - 0
contrib/buildroot/Config.in → contrib/buildroot-2010.11/Config.in


+ 0 - 0
contrib/buildroot/klish.mk → contrib/buildroot-2010.11/klish.mk


+ 8 - 0
contrib/buildroot-2014.08/Config.in

@@ -0,0 +1,8 @@
+menuconfig BR2_PACKAGE_KLISH
+	bool "klish"
+	depends on BR2_PACKAGE_LIBROXML || BR2_PACKAGE_LIBXML2 || BR2_PACKAGE_EXPAT
+	help
+	  The klish is a framework for implementing a CISCO-like CLI on a UNIX systems.
+	  It is configurable by XML files.
+
+	  http://klish.libcode.org

+ 29 - 0
contrib/buildroot-2014.08/klish.mk

@@ -0,0 +1,29 @@
+#############################################################
+#
+# klish
+#
+#############################################################
+
+KLISH_VERSION = 1.6.9
+KLISH_SOURCE = klish-$(KLISH_VERSION).tar.bz2
+KLISH_SITE = http://libcode.org/attachments/download/45
+
+KLISH_DEPENDENCIES =
+KLISH_CONF_OPT = --disable-gpl --without-tcl --with-libroxml
+
+ifeq ($(BR2_PACKAGE_LIBROXML),y)
+KLISH_DEPENDENCIES += libroxml
+KLISH_CONF_OPT += --with-libroxml
+endif
+
+ifeq ($(BR2_PACKAGE_LIBXML2),y)
+KLISH_DEPENDENCIES += libxml2
+KLISH_CONF_OPT += --with-libxml2
+endif
+
+ifeq ($(BR2_PACKAGE_EXPAT),y)
+KLISH_DEPENDENCIES += expat
+KLISH_CONF_OPT += --with-libexpat
+endif
+
+$(eval $(autotools-package))