[packages] Use default templates instead of custom reimplementations where applicable
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=sipsak
11 PKG_VERSION:=0.9.6
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://download.berlios.de/sipsak/ \
16 http://ftp.iptel.org/pub/sipsak/
17 PKG_MD5SUM:=c4eb8e282902e75f4f040f09ea9d99d5
18
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/sipsak
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libopenssl
27 TITLE:=SIP (Session Initiation Protocol) stress and diagnostics utility
28 URL:=http://www.sipsak.org/
29 endef
30
31 define Build/Configure
32 $(call Build/Configure/Default, \
33 --disable-gnutls \
34 )
35 endef
36
37 define Package/sipsak/install
38 $(INSTALL_DIR) $(1)/usr/bin
39 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sipsak $(1)/usr/bin/
40 endef
41
42 $(eval $(call BuildPackage,sipsak))