Root/libexosip2/Makefile

1#
2# Copyright (C) 2011 Xiangfu Liu <xiangfu@sharism.cc>
3# License GPLv2 or later. NO WARRANTY.
4#
5# libphone depends on libexosip2
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=libexosip2
10PKG_VERSION:=3.5.0
11PKG_RELEASE:=1
12PKG_SOURCE:=libeXosip2-$(PKG_VERSION).tar.gz
13PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/exosip/
14PKG_BUILD_DIR:=$(BUILD_DIR)/libeXosip2-$(PKG_VERSION)
15PKG_INSTALL:=1
16
17PKG_FIXUP:=libtool
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/libexosip2
22  MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
23  SECTION:=libs
24  CATEGORY:=Libraries
25  TITLE:=Libexosip2
26  URL:=http://savannah.nongnu.org/projects/exosip/
27  DEPENDS:=@BROKEN
28# ERROR: ./configure: line 2766: syntax error near unexpected token `scripts'
29# ./configure: line 2766: `AM_ACLOCAL_INCLUDE(scripts)'
30endef
31
32define Package/libexosip2/description
33eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement. This protocol is mainly to be used by VoIP telephony applications (endpoints or conference server) but might be also usefull for any application that wish to establish sessions like multiplayer games.
34endef
35
36TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib
37
38TARGET_CPPFLAGS +=
39
40CONFIGURE_ARGS +=
41
42define Build/InstallDev
43    $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
44    $(CP) \
45        $(PKG_INSTALL_DIR)/usr/include/* \
46        $(1)/usr/include/
47    $(CP) \
48        $(PKG_INSTALL_DIR)/usr/lib/*.{a,la,so*} \
49        $(1)/usr/lib/
50endef
51
52define Package/libexosip2/install
53    $(INSTALL_DIR) $(1)/usr/lib
54    $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
55endef
56
57$(eval $(call BuildPackage,libexosip2))
58
59# The following comments configure the Emacs editor. Just ignore them.
60# Local Variables:
61# compile-command: "make -C ~/openwrt-xburst.full_system package/libexosip2/{clean,compile} -j2 V=99"
62# End:
63

Archive Download this file



interactive