DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / libs / opal / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 8274 2007-07-31 11:22:44Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=opal
12 PKG_VERSION:=2.3.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=ftp://peternixon.net/pub/voxgratia
17 PKG_MD5SUM:=5a9d7f060527885bed3a26324de6dcfc
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 # Set location of pwlib (Which needs to have been built already)
22 PWLIBDIR=$(BUILD_DIR)/pwlib-1.11.1
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/libopal
27 SECTION:=libs
28 CATEGORY:=Libraries
29 DEPENDS:=+pwlib +uclibcxx
30 TITLE:=Open Phone Abstraction Library
31 URL:=http://www.voxgratia.org/
32 endef
33
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.
38
39 endef
40
41 CONFIGURE_ARGS += \
42 --enable-minsize \
43 --enable-audio \
44 --disable-video
45
46 CONFIGURE_VARS += \
47 CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
48
49 MAKE_FLAGS += \
50 CFLAGS="$(TARGET_CFLAGS)" \
51 CCFLAGS="$(TARGET_CFLAGS)" \
52 optnoshared
53
54 define Build/InstallDev
55 ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
56 endef
57
58 define Build/UninstallDev
59 rm -rf $(BUILD_DIR)/$(PKG_NAME)
60 endef
61
62 $(eval $(call BuildPackage,libopal))