2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=c4eb8e282902e75f4f040f09ea9d99d5
16 PKG_SOURCE_URL
:=http
://download.berlios.de
/sipsak
/ \
17 http
://ftp.iptel.org
/pub
/sipsak
/
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
24 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=SIP
(Session Initiation Protocol
) stress and diagnostics utility
31 DESCRIPTION
:=A SIP
(Session Initiation Protocol
) stress and diagnostics utility
32 URL
:=http
://www.sipsak.org
/
35 define Build
/Configure
36 $(call Build
/Configure
/Default
,--enable-shared \
38 --disable-gnutls
,ac_cv_func_malloc_0_nonnull
=yes
)
42 rm -rf
$(PKG_INSTALL_DIR
)
43 mkdir
-p
$(PKG_INSTALL_DIR
)
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 DESTDIR
="$(PKG_INSTALL_DIR)" \
49 define Package
/sipsak
/install
50 install -d
-m0755
$(1)/usr
/bin
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/sipsak
$(1)/usr
/bin
/
54 $(eval
$(call BuildPackage
,sipsak
))