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
13 PKG_SOURCE_URL
:=https
://github.com
/freeswitch
/sofia-sip.git
14 PKG_SOURCE_DATE
=2020-08-03
15 PKG_SOURCE_VERSION
:=f5d44540d32b646133f685f04cb8b6658f748714
17 PKG_MIRROR_HASH
:=cfb9b6c1335160f942b72c8660091c1a7eb4ae4ac461d0531cde4f4ca056b3e4
25 PKG_LICENSE
:=LGPL-2.1
+
26 PKG_LICENSE_FILES
:=COPYING
27 PKG_MAINTAINER
:=Sebastian Kemper
<sebastian_ml@gmx.net
>
29 include $(INCLUDE_DIR
)/package.mk
30 include $(INCLUDE_DIR
)/nls.mk
32 define Package
/sofia-sip
/Default
34 URL
:=http
://sofia-sip.sourceforge.net
/index.html
37 define Package
/sofia-sip
38 $(call Package
/sofia-sip
/Default
)
41 TITLE
:=Sofia-SIP open-source SIP User-Agent library
48 define Package
/sofia-sip
/description
49 Sofia-SIP is an open-source SIP User-Agent library
, compliant with the
50 IETF RFC3261 specification
(see the feature table
). It can be used
as a
51 building block for SIP client software for uses such
as VoIP
, IM
, and
52 many other real-time and person-to-person communication services. The
53 primary target platform for Sofia-SIP is GNU
/Linux. Sofia-SIP is based
54 on a SIP stack developed at the Nokia Research Center. Sofia-SIP is
55 licensed under the LGPL.
63 define Build
/InstallDev
64 $(INSTALL_DIR
) $(1)/usr
/include/sofia-sip-1.12
/sofia-
{sip
,resolv
} \
65 $(1)/usr
/share
/sofia-sip
67 $(PKG_INSTALL_DIR
)/usr
/include/sofia-sip-1.12
/sofia-sip
/*.h
{,.in
} \
68 $(1)/usr
/include/sofia-sip-1.12
/sofia-sip
70 $(PKG_INSTALL_DIR
)/usr
/include/sofia-sip-1.12
/sofia-resolv
/*.h \
71 $(1)/usr
/include/sofia-sip-1.12
/sofia-resolv
72 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsofia-sip-ua.
{a
,so
*} $(1)/usr
/lib
74 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/sofia-sip-ua.
pc \
75 $(1)/usr
/lib
/pkgconfig
76 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/sofia-sip
/{msg_parser
,tag_dll
}.awk \
77 $(1)/usr
/share
/sofia-sip
80 define Package
/sofia-sip
/install
81 $(INSTALL_DIR
) $(1)/usr
/lib
82 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libsofia-sip-ua.so.
$(ABI_VERSION
)* \
86 $(eval
$(call BuildPackage
,sofia-sip
))