aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libudev-zero/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-04-10 07:26:30 +0800
commita64930636462bf24118ca7266f699ce2b696e821 (patch)
tree58d116ac5f03aa9e84ece6e4ffa6b489573042a4 /repos/extra/libudev-zero/abuild
parentddd8e1a8fab2ac39396282a7c09ddf6eca219613 (diff)
downloadalicelinux-a64930636462bf24118ca7266f699ce2b696e821.tar.gz
alicelinux-a64930636462bf24118ca7266f699ce2b696e821.zip
clang branch updated
Diffstat (limited to 'repos/extra/libudev-zero/abuild')
-rw-r--r--repos/extra/libudev-zero/abuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/repos/extra/libudev-zero/abuild b/repos/extra/libudev-zero/abuild
new file mode 100644
index 00000000..afd07af0
--- /dev/null
+++ b/repos/extra/libudev-zero/abuild
@@ -0,0 +1,11 @@
+name=libudev-zero
+version=1.0.3
+release=1
+source="https://github.com/illiliti/${name}/archive/${version}/${name}-${version}.tar.gz"
+
+postbuild() {
+ mkdir -p $PKG/usr/bin
+
+ "${CC:-gcc}" -static $LDFLAGS $CFLAGS $CPPFLAGS \
+ -o "$PKG/usr/bin/libudev-zero-helper" contrib/helper.c
+}