[packages] Use default templates instead of custom reimplementations where applicable
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=tmsnc
11 PKG_VERSION:=0.3.2
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/tmsnc
16 PKG_MD5SUM:=337dae91d4775e03b6681f61db56d2a7
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/tmsnc
23 SUBMENU:=Instant Messaging
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libncurses +libopenssl +libpthread
27 TITLE:=text-based MSN client
28 URL:=http://tmsnc.sourceforge.net
29 endef
30
31 define Package/tmsnc/description
32 TMSNC is a textbased (console) MSN client written in C.
33 endef
34
35 define Build/Configure
36 $(call Build/Configure/Default, \
37 --disable-rpath \
38 --with-openssl="$(STAGING_DIR)/usr" \
39 --with-ncurses="$(STAGING_DIR)/usr" \
40 --without-libiconv-prefix \
41 )
42 endef
43
44 define Package/tmsnc/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,tmsnc))