summaryrefslogtreecommitdiff
path: root/package/pjsip/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-11 10:05:13 +0000
committerJohn Crispin <john@openwrt.org>2012-10-11 10:05:13 +0000
commita95775e4b2a9831decbc7f37a2e47985ea2ac222 (patch)
tree2a188f047a7da8e3868f734b26756551c9f7ec8e /package/pjsip/Makefile
parent06218a992e0ffa234d8c180f9a24415b2fb5fe62 (diff)
downloadmtk-20170518-a95775e4b2a9831decbc7f37a2e47985ea2ac222.zip
mtk-20170518-a95775e4b2a9831decbc7f37a2e47985ea2ac222.tar.gz
mtk-20170518-a95775e4b2a9831decbc7f37a2e47985ea2ac222.tar.bz2
drop unmaintained packages
SVN-Revision: 33723
Diffstat (limited to 'package/pjsip/Makefile')
-rw-r--r--package/pjsip/Makefile101
1 files changed, 0 insertions, 101 deletions
diff --git a/package/pjsip/Makefile b/package/pjsip/Makefile
deleted file mode 100644
index d2c6f6b..0000000
--- a/package/pjsip/Makefile
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Copyright (C) 2010-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=pjsip
-PKG_VERSION:=1.14.2
-PKG_RELEASE:=1
-
-PKG_SOURCE:=pjproject-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://www.pjsip.org/release/$(PKG_VERSION)/
-PKG_MD5SUM:=05428502384c16e7abd85f047e6e2f6c
-
-PKG_INSTALL:=1
-PKG_BUILD_PARALLEL:=1
-
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/pjproject-$(PKG_VERSION)
-
-include $(INCLUDE_DIR)/ltqtapi.mk
-PKG_BUILD_DEPENDS:=$(LTQ_TAPI_BUILD_DEPENDS)
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/pjsip-template
- SECTION:=lib
- CATEGORY:=Libraries
- URL:=http://www.pjsip.org/
- MAINTAINER:=John Crispin <blogic@openwrt.org>
- TITLE:=pjsip-$(1)
- VARIANT:=$(1)
- DEPENDS:=+libuuid $(2)
-endef
-
-CONFIGURE_PREFIX=/usr/pjsip-$(BUILD_VARIANT)
-
-ifeq ($(BUILD_VARIANT),oss)
-CONFIGURE_ARGS += \
- --disable-floating-point \
- --enable-g711-codec \
- --disable-l16-codec \
- --disable-g722-codec \
- --disable-g7221-codec \
- --disable-gsm-codec \
- --disable-ilbc-coder \
- --disable-libsamplerate \
- --disable-ipp \
- --disable-ssl \
- --enable-oss \
- --enable-sound
-endif
-
-ifeq ($(BUILD_VARIANT),ltq-tapi)
-CONFIGURE_ARGS += \
- --disable-floating-point \
- --enable-g711-codec \
- --disable-l16-codec \
- --disable-g722-codec \
- --disable-g7221-codec \
- --disable-ilbc-coder \
- --disable-gsm-codec \
- --disable-libsamplerate \
- --disable-ipp \
- --disable-ssl \
- --enable-sound \
- --enable-ltq-tapi
-EXTRA_CFLAGS:=-I$(STAGING_DIR)/usr/include/drv_tapi -I$(STAGING_DIR)/usr/include/drv_vmmc
-endif
-
-Package/pjsip-oss=$(call Package/pjsip-template,oss,BROKEN)
-Package/pjsip-ltq-tapi=$(call Package/pjsip-template,ltq-tapi,$(LTQ_TAPI_DEPENDS))
-
-USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)
-ifneq ($(USE_LOCAL),)
-define Build/Prepare
- $(CP) ./src/* $(PKG_BUILD_DIR)
-endef
-endif
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR); autoconf aconfigure.ac > aconfigure)
- $(call Build/Configure/Default)
-endef
-
-define Build/Compile
- +CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
- CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS) -lc $(LIBGCC_S) -lm" \
- $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH)
-endef
-
-define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr
- $(CP) $(PKG_INSTALL_DIR)/usr/pjsip-$(BUILD_VARIANT) $(1)/usr
-endef
-
-$(eval $(call BuildPackage,pjsip-oss))
-$(eval $(call BuildPackage,pjsip-ltq-tapi))