forked from semios/semios-packages
@@ -0,0 +1,22 @@
|
|||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
from lib import cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("1.14.6")
|
||||||
|
source_url("https://mandoc.bsd.lv/snapshots/mandoc-1.14.6.tar.gz")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.configure()
|
||||||
|
cpp.make([f"CC={os.environ['CC']}"])
|
||||||
|
cpp.make_install()
|
||||||
|
os.chdir("usr/local")
|
||||||
|
subprocess.run(["sh", "-c", "chmod +w bin/* sbin/*"], check=True)
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("mandoc")
|
||||||
|
cpp.use_auto_pack(["bin"])
|
||||||
Reference in New Issue
Block a user