2006-07-28 10:08:16 +00:00
|
|
|
#
|
2007-10-09 00:41:34 +00:00
|
|
|
# Copyright (C) 2006-2007 OpenWrt.org
|
2006-07-28 10:08:16 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=openh323
|
|
|
|
PKG_VERSION:=cvs-20051230
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://trash.uid0.hu/openwrt/
|
|
|
|
PKG_MD5SUM:=ba1ffd45016f533bec2bb1539b78e43a
|
|
|
|
|
2007-10-09 00:41:34 +00:00
|
|
|
PKG_BUILD_DEPENDS:=pwlib
|
2006-07-28 10:08:16 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libopenh323
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=OpenH323 library
|
2007-10-09 00:41:34 +00:00
|
|
|
URL:=http://openh323.sourceforge.net/
|
2006-07-28 10:08:16 +00:00
|
|
|
endef
|
|
|
|
|
2008-08-05 19:06:33 +00:00
|
|
|
ifeq ($(ARCH),x86_64)
|
|
|
|
FPIC:=-fPIC
|
|
|
|
endif
|
|
|
|
|
2007-07-31 11:22:44 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-minsize \
|
|
|
|
--enable-audio \
|
2007-10-09 00:41:34 +00:00
|
|
|
--disable-video \
|
2007-07-31 11:22:44 +00:00
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
|
|
|
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti" \
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
2008-08-05 19:06:33 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
|
|
|
|
CCFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
|
2007-07-31 11:22:44 +00:00
|
|
|
optnoshared
|
2006-07-28 10:08:16 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libopenh323))
|