Compare commits

..
1 Commits
Author SHA1 Message Date
sisungo 4f6837b076 feat: add package gperf
Signed-off-by: sisungo <[email protected]>
2026-08-18 21:12:39 +08:00
2 changed files with 24 additions and 22 deletions
-22
View File
@@ -1,22 +0,0 @@
from lib.make import *
from lib import python
python.version("3.0.3")
description("Safely add untrusted strings to HTML/XML markup.")
maintainer("sisungo <[email protected]>")
source_url("https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz")
python.builddep("$shortcut")
def build():
python.build()
python.install()
on_build(build)
package("MarkupSafe.py")
python.dep("python")
python.use_auto_pack()
+24
View File
@@ -0,0 +1,24 @@
from lib import arch, cpp
from lib.make import *
version("3.3")
description("GNU perfect hash function generator")
maintainer("sisungo <[email protected]>")
source_url("https://ftp.gnu.org/pub/gnu/gperf/gperf-3.3.tar.gz")
builddep("shortcut/c++")
builddep("shortcut/autotools")
def build():
cpp.configure()
cpp.make()
cpp.make_install()
on_build(build)
package("gperf")
dep("libcxx @same-arch")
cpp.use_auto_pack(["bin"])