aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/mdevd/abuild
diff options
context:
space:
mode:
authorxplshn <xplshn@murena.io>2025-02-26 01:13:47 -0300
committerxplshn <xplshn@murena.io>2025-02-26 01:13:47 -0300
commit3268e4ae8585276b075070c1e32b732dbb001d6b (patch)
tree5521732520770f37974dab303aa6fd4f98b29640 /repos/extra/mdevd/abuild
parent0dabb9797fe0fea51e5e4fb5928a643a1f2af43e (diff)
downloadalicelinux-3268e4ae8585276b075070c1e32b732dbb001d6b.tar.gz
alicelinux-3268e4ae8585276b075070c1e32b732dbb001d6b.zip
add: f2fs-tools, skalibs, mdevd
Signed-off-by: xplshn <xplshn@murena.io>
Diffstat (limited to 'repos/extra/mdevd/abuild')
-rw-r--r--repos/extra/mdevd/abuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repos/extra/mdevd/abuild b/repos/extra/mdevd/abuild
new file mode 100644
index 00000000..d904a52f
--- /dev/null
+++ b/repos/extra/mdevd/abuild
@@ -0,0 +1,22 @@
+name=mdevd
+version=master
+version=0.1.6.5
+release=1
+source="https://github.com/skarnet/${name}/archive/v${version}/${name}-v${version}.tar.gz
+ mdevd.conf
+ mdevd.run"
+sv="mdevd.run"
+keep_static=1
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --enable-static-libc #\
+ #--disable-shared
+ make
+ make install
+
+ mkdir "$PKG/etc"
+ mv "$SRC/mdevd.conf" "$PKG/etc/mdevd.conf"
+ sed '/mdev/ { /#/! s/^/#/; }' /etc/rc.boot >"$PKG/etc/rc.boot"
+}