summaryrefslogtreecommitdiff
path: root/climm/Makefile
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
commit9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch)
tree370db60ffdc2ef840b7d1124d5a392f93bba3c9d /climm/Makefile
downloadqipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.
Diffstat (limited to 'climm/Makefile')
-rw-r--r--climm/Makefile52
1 files changed, 52 insertions, 0 deletions
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))