forked from semios/semios-packages
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d415dd8ea5 | ||
|
|
6fba906736 | ||
|
|
1092471a91 | ||
|
|
64e961c02b | ||
|
|
41edafea75 | ||
|
|
909f4b009b |
@@ -0,0 +1,29 @@
|
|||||||
|
import os
|
||||||
|
import shutil
|
||||||
|
|
||||||
|
import lib.cpp as cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
upstream_version = "1.0.8"
|
||||||
|
|
||||||
|
version(f"{upstream_version}")
|
||||||
|
source_url(f"https://sourceware.org/pub/bzip2/bzip2-{upstream_version}.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.make(["-f", "Makefile-libbz2_so"])
|
||||||
|
cpp.make_install(["PREFIX=../cpp_install"], chdir=False)
|
||||||
|
shutil.copy2(f"libbz2.so.{upstream_version}", "../cpp_install/lib/libbz2.so")
|
||||||
|
os.chdir("../cpp_install")
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("libbzip2")
|
||||||
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
|
package("bzip2")
|
||||||
|
cpp.use_auto_pack(["bin"])
|
||||||
|
|
||||||
|
package("libbzip2-dev")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import lib.rust as rust
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("0.5.0")
|
||||||
|
source_url("https://github.com/uutils/diffutils/archive/refs/tags/v0.5.0.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
rust.build()
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("diffutils")
|
||||||
|
rust.use_auto_pack(["bin"])
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import lib.rust as rust
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("0.9.0")
|
||||||
|
source_url("https://github.com/uutils/findutils/archive/refs/tags/0.9.0.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
rust.build()
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
package("findutils")
|
||||||
|
rust.use_auto_pack(["bin"])
|
||||||
Reference in New Issue
Block a user