3.69. eudev-3.2.11
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Additional source handling
src_postfetch() { tar xf ${ANYSRCDIR}/udev-lfs-20171102.tar.xz }
Configuration
src_config() { ./configure \ --prefix=${PREFIX} \ --bindir=${PREFIX}/sbin \ --sysconfdir=/etc \ --enable-manpages \ --disable-static }
Compilation
src_compile() { make ${MAKEOPTS} }
Installation
src_install() { mkdir -p ${D}${PREFIX}/lib/udev/rules.d mkdir -p ${D}/etc/udev/rules.d make install ${MAKEOPTS} DESTDIR=${D} make -f udev-lfs-20171102/Makefile.lfs install DESTDIR=${D} }
Unit testing
src_check() { make check }
lfs_postinstall
Method lfs_postinstall is empty, that means the postinstall script of package is not executed after the package is unpacked into chrooted filesystem. The postinstall script requires root privileges, which we do not have.
lfs_postinstall() { return }
Run time scripts
Build code
Other files
Links
- url.lfs: https://linuxfromscratch.org/lfs/view/11.1/chapter08/eudev.html
- url.lfs.stage1: