pcre: fork, fix sources
[kiss-trunc88.git] / eudev / build
blob4b5dc3f7c1e4f8a497061f3fa04954c2c671e1aa
1 #!/bin/sh -e
3 ./configure \
4 --prefix=/usr \
5 --sysconfdir=/etc \
6 --sbindir=/usr/bin \
7 --bindir=/usr/bin \
8 --libdir=/usr/lib/eudev \
9 --includedir=/usr/include/eudev \
10 --datarootdir=/usr/share/eudev \
11 --disable-hwdb \
12 --enable-blkid=auto \
13 --disable-introspection
15 make
16 make DESTDIR="$1" install
18 # Install runit service.
19 install -Dm755 udevd.run "$1/etc/sv/udevd/run"
20 ln -s /run/runit/supervise.udevd "$1/etc/sv/udevd/supervise"
21 ln -s /usr/lib/udev/*.rules "$1/usr/lib/eudev/udev/"
22 ln -s /usr/lib/udev/rules.d/*.rules "$1/usr/lib/eudev/udev/rules.d"
23 ln -s /usr/lib/udev/libinput* "$1/usr/lib/eudev/udev/"