2 # Copyright (C) 2020 Sebastian Kemper <sebastian_ml@gmx.net>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://codeload.github.com
/freeswitch
/$(PKG_NAME
)/tar.gz
/v
${PKG_VERSION}?
17 PKG_HASH
:=daca3d961b6aa2974ad5d3be69ed011726c3e4d511b2a0d4cb6d878821a2de7a
19 # sofia-sip adds a version to include path
20 # need to update this when the version changes
21 VERSION_EQUIVALENT
:=1.13
29 PKG_LICENSE
:=LGPL-2.1
+
30 PKG_LICENSE_FILES
:=COPYING
31 PKG_MAINTAINER
:=Sebastian Kemper
<sebastian_ml@gmx.net
>
33 include $(INCLUDE_DIR
)/package.mk
34 include $(INCLUDE_DIR
)/nls.mk
36 define Package
/sofia-sip
/Default
38 URL
:=http
://sofia-sip.sourceforge.net
/index.html
41 define Package
/sofia-sip
42 $(call Package
/sofia-sip
/Default
)
45 TITLE
:=Sofia-SIP open-source SIP User-Agent library
52 define Package
/sofia-sip
/description
53 Sofia-SIP is an open-source SIP User-Agent library
, compliant with the
54 IETF RFC3261 specification
(see the feature table
). It can be used
as a
55 building block for SIP client software for uses such
as VoIP
, IM
, and
56 many other real-time and person-to-person communication services. The
57 primary target platform for Sofia-SIP is GNU
/Linux. Sofia-SIP is based
58 on a SIP stack developed at the Nokia Research Center. Sofia-SIP is
59 licensed under the LGPL.
67 define Build
/InstallDev
68 $(INSTALL_DIR
) $(1)/usr
/include/sofia-sip-
$(VERSION_EQUIVALENT
)/sofia-
{sip
,resolv
} \
69 $(1)/usr
/share
/sofia-sip
71 $(PKG_INSTALL_DIR
)/usr
/include/sofia-sip-
$(VERSION_EQUIVALENT
)/sofia-sip
/*.h
{,.in
} \
72 $(1)/usr
/include/sofia-sip-
$(VERSION_EQUIVALENT
)/sofia-sip
74 $(PKG_INSTALL_DIR
)/usr
/include/sofia-sip-
$(VERSION_EQUIVALENT
)/sofia-resolv
/*.h \
75 $(1)/usr
/include/sofia-sip-
$(VERSION_EQUIVALENT
)/sofia-resolv
76 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
77 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsofia-sip-ua.
{a
,so
*} $(1)/usr
/lib
78 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/sofia-sip-ua.
pc \
79 $(1)/usr
/lib
/pkgconfig
80 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/sofia-sip
/{msg_parser
,tag_dll
}.awk \
81 $(1)/usr
/share
/sofia-sip
84 define Package
/sofia-sip
/install
85 $(INSTALL_DIR
) $(1)/usr
/lib
86 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsofia-sip-ua.so.
$(ABI_VERSION
)* \
90 $(eval
$(call BuildPackage
,sofia-sip
))