package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
523 B
19 lines
523 B
6 years ago
|
package("libtask")
|
||
|
|
||
|
set_homepage("https://swtch.com/libtask/")
|
||
|
set_description("a Coroutine Library for C and Unix")
|
||
|
|
||
|
set_urls("https://swtch.com/libtask.tar.gz")
|
||
|
|
||
|
add_versions("1.0", "4f484fbb29f8d016fa9f12a7c89abd9b0972cb677319369b076ec1558db7c327")
|
||
|
|
||
|
on_build("macosx", "linux", function (package)
|
||
|
os.vrun("make")
|
||
|
end)
|
||
|
|
||
|
on_install("macosx", "linux", function (package)
|
||
|
os.cp("*.h", package:installdir("include"))
|
||
|
os.cp("libtask.a", package:installdir("lib"))
|
||
|
end)
|
||
|
|