Fix the depends typo (#1264)
[openwrt/svn-archive/archive.git] / net / sipsak / 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:=sipsak
12 PKG_VERSION:=0.9.6
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://download.berlios.de/sipsak/ \
17 http://ftp.iptel.org/pub/sipsak/
18 PKG_MD5SUM:=c4eb8e282902e75f4f040f09ea9d99d5
19 PKG_CAT:=zcat
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/sipsak
27 SECTION:=net
28 CATEGORY:=Network
29 DEPENDS:=+libopenssl
30 TITLE:=SIP (Session Initiation Protocol) stress and diagnostics utility
31 URL:=http://www.sipsak.org/
32 endef
33
34 define Build/Configure
35 $(call Build/Configure/Default, \
36 --disable-gnutls \
37 )
38 endef
39
40 define Build/Compile
41 $(MAKE) -C $(PKG_BUILD_DIR) \
42 DESTDIR="$(PKG_INSTALL_DIR)" \
43 all install
44 endef
45
46 define Package/sipsak/install
47 $(INSTALL_DIR) $(1)/usr/bin
48 $(CP) $(PKG_INSTALL_DIR)/usr/bin/sipsak $(1)/usr/bin/
49 endef
50
51 $(eval $(call BuildPackage,sipsak))