2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 http
://download.savannah.gnu.org
/releases-noredirect
/linphone
/ortp
/sources
/ \
17 http
://www.very-clever.com
/download
/nongnu
/linphone
/ortp
/sources
/
18 PKG_MD5SUM
:=2b0281600cb958d1c94e318a86b62fe3
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libortp
28 TITLE
:=Real-time Transport Protocol
(RTP
) library
29 URL
:=http
://www.linphone.org
/index.php
/eng
/code_review
/ortp
38 --disable-so-reuseaddr \
42 ac_cv_header_srtp_srtp_h
=no \
43 ac_cv_lib_srtp_srtp_init
=no \
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include
47 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
53 .
/usr
/lib
/libortp.
{a
,so
*} \
56 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
57 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
58 .
/usr
/lib
/pkgconfig
/ortp.
pc \
59 $(1)/usr
/lib
/pkgconfig
/ \
63 define Package
/libortp
/install
64 $(INSTALL_DIR
) $(1)/usr
/lib
65 ( cd
$(PKG_INSTALL_DIR
); $(CP
) \
66 .
/usr
/lib
/libortp.so.
* \
71 $(eval
$(call BuildPackage
,libortp
))