summaryrefslogtreecommitdiff
path: root/mcabber/Makefile
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /mcabber/Makefile
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'mcabber/Makefile')
-rw-r--r--mcabber/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/mcabber/Makefile b/mcabber/Makefile
new file mode 100644
index 0000000..2603093
--- /dev/null
+++ b/mcabber/Makefile
@@ -0,0 +1,59 @@
+# $Id: Makefile 5624 2006-11-23 00:29:07Z Jirka $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=mcabber
+PKG_VERSION:=0.9.10
+PKG_RELEASE:=3
+# http://mcabber.com/files/mcabber-0.10.0.tar.bz2
+
+PKG_SOURCE:=mcabber-$(PKG_VERSION).tar.bz2
+PKG_SOURCE_URL:=http://mcabber.com/files/
+PKG_MD5SUM:=887415d16c32af58eab2ec2d9bb17fa6
+PKG_CAT:=bzip2 -cd
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/mcabber-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/mcabber
+ SECTION:=network
+ CATEGORY:=Network
+ TITLE:=Mcabber
+ DEPENDS:=+libncurses +libreadline +libintl +libcharset +libopenssl #+ssl
+ URL:=http://mcabber.com/
+endef
+
+define Package/mcabber/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 += \
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+ -L$(STAGING_DIR)/usr/lib/libintl/lib \
+ -L$(STAGING_DIR)/usr/lib/libiconv/lib -lm
+
+
+define Build/Configure
+ $(call Build/Configure/Default, \
+ --prefix=/usr --disable-opensearch --with-ssl --disable-gpgme \
+ export READLINE=1 \
+ )
+endef
+
+define Package/mcabber/install
+ $(INSTALL_DIR) $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/usr/share/mcabber/help/en/
+ $(INSTALL_DIR) $(1)/root/.mcabber/
+
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcabber $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/doc/help/en/*.txt $(1)/usr/share/mcabber/help/en/
+ $(INSTALL_DATA) ./files/mcabberrc.example $(1)/root/.mcabber/mcabberrc
+endef
+
+$(eval $(call BuildPackage,mcabber))