DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / net / tmsnc / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=tmsnc
12 PKG_VERSION:=0.3.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/tmsnc
17 PKG_MD5SUM:=3b30e5dab0b1b679d2b945c3a5713636
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/tmsnc
26 SUBMENU:=Instant Messaging
27 SECTION:=net
28 CATEGORY:=Network
29 DEPENDS:=+libncurses +libopenssl +libpthread
30 TITLE:=text-based MSN client
31 URL:=http://tmsnc.sourceforge.net
32 endef
33
34 define Package/tmsnc/description
35 TMSNC is a textbased (console) MSN client written in C.
36 endef
37
38 define Build/Configure
39 $(call Build/Configure/Default, \
40 --disable-rpath \
41 --with-openssl="$(STAGING_DIR)/usr" \
42 --with-ncurses="$(STAGING_DIR)/usr" \
43 --without-libiconv-prefix \
44 )
45 endef
46
47 define Build/Compile
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
50 all install
51 endef
52
53 define Package/tmsnc/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(CP) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
56 endef
57
58 $(eval $(call BuildPackage,tmsnc))