forked from semios/semios-packages
feat: add package gettext-tiny
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
|
from lib import cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("0.3.3")
|
||||||
|
source_url(
|
||||||
|
"https://github.com/sabotage-linux/gettext-tiny/releases/download/v0.3.3/gettext-tiny-0.3.3.tar.xz"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.make(["LIBINTL=musl"])
|
||||||
|
cpp.make_install(
|
||||||
|
["LIBINTL=musl", "DESTDIR=../cpp_install", "prefix=/"], chdir=False, move=False
|
||||||
|
)
|
||||||
|
os.chdir("../cpp_install")
|
||||||
|
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
package("libintl-dev")
|
||||||
|
dep("semi-libc-dev @same-arch")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
|
|
||||||
|
package("gettext")
|
||||||
|
dep("semi-libc @same-arch")
|
||||||
|
cpp.use_auto_pack(["bin"])
|
||||||
Reference in New Issue
Block a user