summaryrefslogtreecommitdiff
path: root/repo/system/eudev/eudev.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/system/eudev/eudev.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/system/eudev/eudev.xibuild')
-rw-r--r--repo/system/eudev/eudev.xibuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/repo/system/eudev/eudev.xibuild b/repo/system/eudev/eudev.xibuild
new file mode 100644
index 0000000..983d112
--- /dev/null
+++ b/repo/system/eudev/eudev.xibuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+MAKEDEPS="make autoconf automake"
+DEPS="gperf udev-rules kmod"
+
+PKG_VER=3.2.10
+SOURCE=https://dev.gentoo.org/~blueness/eudev/eudev-$PKG_VER.tar.gz
+DESC="Programs for dynamic creation of device nodes"
+ADDITIONAL="
+ default-rules.patch
+ load-fbcon.patch
+ udev.initd
+ udev_retry.initd
+"
+
+prepare () {
+ #apply_patches
+ autoreconf -fiv
+ sed -i 's/\$(LN_S) -n -f/\$(LN_S) -f/' src/udev/Makefile.in
+}
+
+build () {
+ ./configure --prefix=/usr \
+ --bindir=/usr/sbin \
+ --sbindir=/usr/sbin \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --enable-manpages \
+ --disable-static
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+
+ install -Dm 754 udev.initd $PKG_DEST/etc/init.d/udev
+ install -Dm 754 udev_retry.initd $PKG_DEST/etc/init.d/udev_retry
+ mkdir -p $PKG_DEST/etc/runlevels/boot/
+ ln -s /etc/init.d/udev $PKG_DEST/etc/runlevels/boot/udev
+ ln -s /etc/init.d/udev_retry $PKG_DEST/etc/runlevels/boot/udev_retry
+}