]> git.armaanb.net Git - asd-repo.git/blob - extra/acpid/build
Adapt for asd linux
[asd-repo.git] / extra / acpid / build
1 #!/bin/sh -e
2
3 ./configure \
4     --prefix=/usr \
5     --sbindir=/usr/bin
6
7 make
8 make DESTDIR="$1" install
9
10 # Install runit service.
11 install -Dm755 acpid.run         "$1/etc/sv/acpid/run"
12 ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
13
14 # Required otherwise daemon fails to launch.
15 mkdir -p "$1/etc/acpi/events"