From 84b1e91bc0c127251d70fed270f7a93416267b41 Mon Sep 17 00:00:00 2001 From: Jiri Brozovsky Date: Fri, 23 Jul 2010 13:43:36 +0200 Subject: [PATCH] Climm instant messenger (Jabber/Oscar) - initial OpenWRT port. --- climm/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 climm/Makefile diff --git a/climm/Makefile b/climm/Makefile new file mode 100644 index 0000000..afe1ea5 --- /dev/null +++ b/climm/Makefile @@ -0,0 +1,52 @@ +# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=climm +PKG_VERSION:=0.7.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=climm-$(PKG_VERSION).tgz + PKG_SOURCE_URL:=http://www.climm.org/source/ + #PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6 + PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/climm-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/climm + SECTION:=network + CATEGORY:=Network + TITLE:=Climm + DEPENDS:=+zlib +libncurses +libreadline +libintl +libcharset +libopenssl +libgnutls +libgnutls-openssl + URL:=http://www.climm.org/ +endef + +define Package/climm/description + Terminal Jabber client. +endef + +EXTRA_CFLAGS += \ + -I$(STAGING_DIR)/usr/lib/libintl/include \ + -I$(STAGING_DIR)/usr/lib/libiconv/include \ + -I$(STAGING_DIR)/usr/include + +EXTRA_LDFLAGS += \ + -L$(STAGING_DIR)/usr/lib/libintl/lib \ + -L$(STAGING_DIR)/usr/lib/libiconv/lib -lm -lz + + +define Build/Configure + $(call Build/Configure/Default, \ + --prefix=/usr --with-ssl \ + export READLINE=1 \ + ) +endef + +define Package/climm/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/climm $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,climm))