f35351c280da785125ac4df29f734fcc9224148d
[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
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/sipsak
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=+libopenssl
29 TITLE:=SIP (Session Initiation Protocol) stress and diagnostics utility
30 URL:=http://www.sipsak.org/
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --disable-gnutls \
36 )
37 endef
38
39 define Build/Compile
40 $(MAKE) -C $(PKG_BUILD_DIR) \
41 DESTDIR="$(PKG_INSTALL_DIR)" \
42 all install
43 endef
44
45 define Package/sipsak/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(CP) $(PKG_INSTALL_DIR)/usr/bin/sipsak $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,sipsak))