nuke $Id$ in /packages as well
[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 include $(INCLUDE_DIR)/package.mk
19
20 define Package/tmsnc
21 SUBMENU:=Instant Messaging
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+libncurses +libopenssl +libpthread
25 TITLE:=text-based MSN client
26 URL:=http://tmsnc.sourceforge.net
27 endef
28
29 define Package/tmsnc/description
30 TMSNC is a textbased (console) MSN client written in C.
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --disable-rpath \
36 --with-openssl="$(STAGING_DIR)/usr" \
37 --with-ncurses="$(STAGING_DIR)/usr" \
38 --without-libiconv-prefix \
39 )
40 endef
41
42 define Build/Compile
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
45 all install
46 endef
47
48 define Package/tmsnc/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tmsnc $(1)/usr/bin/
51 endef
52
53 $(eval $(call BuildPackage,tmsnc))