forked from semios/semios-packages
@@ -0,0 +1,28 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
import lib.cpp as cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("2.8.1")
|
||||||
|
source_url(
|
||||||
|
"https://github.com/libexpat/libexpat/releases/download/R_2_8_1/expat-2.8.1.tar.gz"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.cmake()
|
||||||
|
cpp.ninja()
|
||||||
|
cpp.ninja_install()
|
||||||
|
os.chdir("usr")
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("libexpat")
|
||||||
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
|
package("libexpat-tools")
|
||||||
|
cpp.use_auto_pack(["bin"])
|
||||||
|
|
||||||
|
package("libexpat-dev")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
Reference in New Issue
Block a user