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
14 PKG_MD5SUM
:=3b30e5dab0b1b679d2b945c3a5713636
15 PKG_SOURCE_URL
:=@SF
/tmsnc
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
22 include $(INCLUDE_DIR
)/package.mk
27 DEPENDS
:=+libiconv
+libncurses
+libopenssl
28 TITLE
:=text-based MSN client
29 DESCRIPTION
:=TMSNC is a textbased
(console
) MSN client written in C.
30 URL
:=http
://tmsnc.sourceforge.net
33 define Build
/Configure
34 $(call Build
/Configure
/Default
,--with-libiconv-prefix
=$(STAGING_DIR
)/usr \
35 --with-openssl
="$(STAGING_DIR)/usr" \
36 --with-ncurses
="$(STAGING_DIR)/usr" \
37 --with-gnu-ld
, ac_cv_func_malloc_0_nonnull
=yes \
38 ac_cv_func_realloc_0_nonnull
=yes
)
42 $(call Build
/Compile
/Default
,DESTDIR
="$(PKG_INSTALL_DIR)" \
43 CFLAGS
="$(TARGET_CFLAGS)" \
45 rm -rf
$(PKG_INSTALL_DIR
)/usr
/man
48 define Package
/tmsnc
/install
50 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
53 $(eval
$(call BuildPackage
,tmsnc
))