sipsak fixes:
[openwrt/svn-archive/archive.git] / net / sipsak / Makefile
1 #
2 # Copyright (C) 2006-2009 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:=2
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
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/sipsak
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libopenssl
26 TITLE:=SIP (Session Initiation Protocol) stress and diagnostics utility
27 URL:=http://www.sipsak.org/
28 endef
29
30 CONFIGURE_ARGS += \
31 --disable-gnutls \
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 DESTDIR="$(PKG_INSTALL_DIR)" \
36 all install
37 endef
38
39 define Package/sipsak/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sipsak $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,sipsak))