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.
7 # $Id: Makefile 8274 2007-07-31 11:22:44Z nbd $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-src.
tar.bz2
16 PKG_SOURCE_URL
:=@SF
/opalvoip
17 PKG_MD5SUM
:=405ba3b03ec706b6e6f873de340937e2
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)_
$(PKG_VERSION
)
21 # Set location of ptlib (Which needs to have been built already)
22 export PTLIBDIR
=$(BUILD_DIR
)/ptlib
23 export PTLIBPLUGINDIR
=$(BUILD_DIR
)/ptlib
/plugins
/ptlib
/
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libopal
30 DEPENDS
:=+ptlib
+uclibcxx
31 TITLE
:=Open Phone Abstraction Library
32 URL
:=http
://www.opalvoip.org
/
35 define Package
/libopal
/description
36 Open Phone Abstraction Library
, implementation of the ITU H
.323
37 teleconferencing protocol
, and successor of the openh323 library. It
38 supports not only the H
.323 protocol but also SIP and IAX2.
41 TARGET_CFLAGS
+= $(FPIC
)
54 --disable-versioncheck \
58 CXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
61 CFLAGS
="$(TARGET_CFLAGS)" \
62 CCFLAGS
="$(TARGET_CFLAGS)" \
65 define Build
/InstallDev
66 ln
-sf
$(PKG_NAME
)_
$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
69 $(eval
$(call BuildPackage
,libopal
))