repo/libudev/build

26 lines
862 B
Text
Raw Permalink Normal View History

2021-07-16 03:05:23 +03:00
install -dv $1/lib/{firmware,udev/devices/pts}
mknod -m0666 $1/lib/udev/devices/null c 1 3
BLKID_CFLAGS="-I/usr/include/blkid" \
BLKID_LIBS="-L/lib -lblkid" \
KMOD_CFLAGS="-I/usr/include" \
KMOD_LIBS="-L/lib -lkmod" \
./configure --prefix=/usr \
--with-rootprefix='' \
--bindir=/sbin \
--sysconfdir=/etc \
--libexecdir=/lib \
--enable-rule_generator \
--disable-introspection \
--disable-keymap \
--disable-gudev \
--with-usb-ids-path=no \
--with-pci-ids-path=no \
--with-systemdsystemunitdir=no
make
make DESTDIR="$1" install
rm -rfv $1/usr/share/doc/udev
cd udev-config-20100128
make DESTDIR="$1" install
make DESTDIR="$1" install-doc