From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/eudev/eudev.xibuild | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 repo/eudev/eudev.xibuild (limited to 'repo/eudev/eudev.xibuild') diff --git a/repo/eudev/eudev.xibuild b/repo/eudev/eudev.xibuild new file mode 100644 index 0000000..983d112 --- /dev/null +++ b/repo/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 +} -- cgit v1.2.1