2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/tmsnc
17 PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22 include $(INCLUDE_DIR)/package.mk
25 SUBMENU:=Instant Messaging
28 DEPENDS:=+libncurses +libopenssl +libpthread
29 TITLE:=text-based MSN client
30 URL:=http://tmsnc.sourceforge.net
33 define Package/tmsnc/description
34 TMSNC is a textbased (console) MSN client written in C.
37 define Build/Configure
38 $(call Build/Configure/Default, \
40 --with-openssl="$(STAGING_DIR)/usr" \
41 --with-ncurses="$(STAGING_DIR)/usr" \
42 --without-libiconv-prefix \
47 $(MAKE) -C $(PKG_BUILD_DIR) \
48 DESTDIR="$(PKG_INSTALL_DIR)" \
52 define Package/tmsnc/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
57 $(eval $(call BuildPackage,tmsnc))