29 lines
473 B
Python
29 lines
473 B
Python
import os
|
|
|
|
from lib import cpp
|
|
from lib.make import *
|
|
|
|
version("78.3")
|
|
source_url(
|
|
"https://github.com/unicode-org/icu/releases/download/release-78.3/icu4c-78.3-sources.tgz"
|
|
)
|
|
|
|
|
|
def build():
|
|
os.chdir("source")
|
|
cpp.configure(["--enable-plugins", "--prefix=/"])
|
|
cpp.make()
|
|
cpp.make_install()
|
|
|
|
|
|
on_build(build)
|
|
|
|
package("libicu4c")
|
|
cpp.use_auto_pack(["lib"])
|
|
|
|
package("icu4c")
|
|
cpp.use_auto_pack(["bin"])
|
|
|
|
package("libicu4c-dev")
|
|
cpp.use_auto_pack(["dev"])
|