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
).
tar.bz2
16 PKG_SOURCE_URL
:=ftp
://peternixon.net
/pub
/voxgratia
17 PKG_MD5SUM
:=5a9d7f060527885bed3a26324de6dcfc
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 # Set location of pwlib (Which needs to have been built already)
22 PWLIBDIR
=$(BUILD_DIR
)/pwlib-1.11
.1
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/libopal
29 DEPENDS
:=+pwlib
+uclibcxx
30 TITLE
:=Open Phone Abstraction Library
31 URL
:=http
://www.voxgratia.org
/
34 define Package
/libopal
/description
35 Open Phone Abstraction Library
, implementation of the ITU H
.323
36 teleconferencing protocol
, and successor of the openh323 library. It
37 supports not only the H
.323 protocol but also SIP and IAX2.
47 CXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
50 CFLAGS
="$(TARGET_CFLAGS)" \
51 CCFLAGS
="$(TARGET_CFLAGS)" \
54 define Build
/InstallDev
55 ln
-sf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
58 define Build
/UninstallDev
59 rm -rf
$(BUILD_DIR
)/$(PKG_NAME
)
62 $(eval
$(call BuildPackage
,libopal
))