2006-08-26 09:36:35 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tmsnc
|
|
|
|
PKG_VERSION:=0.3.1
|
|
|
|
PKG_RELEASE:=1
|
2006-10-30 13:51:15 +00:00
|
|
|
|
2006-08-26 09:36:35 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:15 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/tmsnc
|
|
|
|
PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636
|
2006-08-26 09:36:35 +00:00
|
|
|
|
2006-10-30 13:51:15 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2006-08-26 09:36:35 +00:00
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tmsnc
|
2007-09-25 18:29:45 +00:00
|
|
|
SUBMENU:=Instant Messaging
|
2006-08-26 09:36:35 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2006-10-30 13:51:15 +00:00
|
|
|
DEPENDS:=+libncurses +libopenssl +libpthread
|
2006-08-26 09:36:35 +00:00
|
|
|
TITLE:=text-based MSN client
|
|
|
|
URL:=http://tmsnc.sourceforge.net
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/tmsnc/description
|
|
|
|
TMSNC is a textbased (console) MSN client written in C.
|
|
|
|
endef
|
|
|
|
|
2006-08-26 09:36:35 +00:00
|
|
|
define Build/Configure
|
2006-10-19 15:26:14 +00:00
|
|
|
$(call Build/Configure/Default, \
|
2006-10-30 13:51:15 +00:00
|
|
|
--disable-rpath \
|
2006-10-19 15:26:14 +00:00
|
|
|
--with-openssl="$(STAGING_DIR)/usr" \
|
|
|
|
--with-ncurses="$(STAGING_DIR)/usr" \
|
2006-10-30 13:51:15 +00:00
|
|
|
--without-libiconv-prefix \
|
2006-10-19 15:26:14 +00:00
|
|
|
)
|
2006-08-26 09:36:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2006-10-30 13:51:15 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all install
|
2006-08-26 09:36:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tmsnc/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2006-10-30 13:51:15 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
|
2006-08-26 09:36:35 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,tmsnc))
|