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