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
32 Open Phone Abstraction Library
, implementation of the ITU H
.323\\\
33 teleconferencing protocol
, and successor of the openh323 library. It
\\\
34 supports not only the H
.323 protocol but also SIP and IAX2.
\\\
35 URL
:=http
://www.voxgratia.org
/
44 CXXFLAGS
="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
47 CFLAGS
="$(TARGET_CFLAGS)" \
48 CCFLAGS
="$(TARGET_CFLAGS)" \
51 define Build
/InstallDev
52 ln
-sf
$(PKG_NAME
)-$(PKG_VERSION
) $(BUILD_DIR
)/$(PKG_NAME
)
55 define Build
/UninstallDev
56 rm -rf
$(BUILD_DIR
)/$(PKG_NAME
)
59 $(eval
$(call BuildPackage
,libopal
))