-
-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package("exosip") | ||
set_homepage("https://savannah.nongnu.org/projects/exosip") | ||
set_description("eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement") | ||
set_license("GPL-2.0") | ||
|
||
add_urls("https://git.savannah.nongnu.org/cgit/exosip.git/snapshot/exosip-$(version).tar.gz", | ||
"git://git.savannah.gnu.org/exosip.git") | ||
|
||
add_versions("5.3.0", "66c2b2ddcfdc8807054fa31f72a6068ef66d98bedd9aedb25b9031718b9906a2") | ||
|
||
add_deps("osip") | ||
|
||
on_install(function (package) | ||
local configs = {} | ||
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) | ||
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes")) | ||
import("package.tools.autoconf").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cincludes("eXosip2/eXosip.h")) | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package("osip") | ||
set_homepage("https://savannah.gnu.org/projects/osip") | ||
set_description("oSIP is an LGPL implementation of SIP. It's stable, portable, flexible and compliant! -may be more-! It is used mostly with eXosip2 stack (GPL) which provides simpler API for User-Agent implementation.") | ||
set_license("LGPL") | ||
|
||
add_urls("https://git.savannah.gnu.org/cgit/osip.git/snapshot/osip-$(version).tar.gz", | ||
"https://git.savannah.gnu.org/git/osip.git") | ||
|
||
add_versions("5.3.0", "593c9d61150b230f7e757b652d70d5fe336c84db7e4db190658f9ef1597d59ed") | ||
|
||
on_install(function (package) | ||
local configs = {} | ||
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) | ||
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes")) | ||
import("package.tools.autoconf").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cincludes("osip2/osip_mt.h")) | ||
end) |