forked from semios/semios-packages
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9711728da6 |
@@ -0,0 +1,22 @@
|
|||||||
|
from lib.make import *
|
||||||
|
from lib import python
|
||||||
|
|
||||||
|
|
||||||
|
python.version("6.0.3")
|
||||||
|
description("YAML parser and emitter for Python")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_url("https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz")
|
||||||
|
|
||||||
|
python.builddep("$shortcut")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
python.build()
|
||||||
|
python.install()
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
package("PyYAML.py")
|
||||||
|
python.dep("python")
|
||||||
|
python.use_auto_pack()
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
from lib import cpp
|
|
||||||
from lib.make import *
|
|
||||||
|
|
||||||
|
|
||||||
version("1.0.16")
|
|
||||||
description("The Free Implementation of the Unicode Bidirectional Algorithm.")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_url("https://github.com/fribidi/fribidi/releases/download/v1.0.16/fribidi-1.0.16.tar.xz")
|
|
||||||
|
|
||||||
builddep("shortcut/c")
|
|
||||||
builddep("shortcut/autotools")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.configure([
|
|
||||||
f"--libdir={get_prefix('libfribidi')}/lib",
|
|
||||||
f"--bindir={get_prefix('fribidi')}/bin",
|
|
||||||
f"--includedir={get_prefix('libfribidi-dev')}/include",
|
|
||||||
"--disable-deprecated",
|
|
||||||
])
|
|
||||||
cpp.make()
|
|
||||||
cpp.make_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
|
|
||||||
|
|
||||||
package("libfribidi")
|
|
||||||
dep("semi-libc @same-arch")
|
|
||||||
cpp.use_auto_pack(["lib"])
|
|
||||||
|
|
||||||
package("fribidi")
|
|
||||||
dep("libfribidi (same)")
|
|
||||||
cpp.use_auto_pack(["bin"])
|
|
||||||
|
|
||||||
package("libfribidi-dev")
|
|
||||||
dep("libfribidi (same)")
|
|
||||||
cpp.use_auto_pack(["dev"])
|
|
||||||
Reference in New Issue
Block a user