aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid/build
blob: 2e9a3bd4785140574f6b7a4328f05ecf65d2810c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

./configure --prefix=/usr --sbindir=/usr/bin

make
make DESTDIR="$1" install
mkdir -p "$1/etc/acpi/events"

# Install runit service.
install -Dm755 run "$1/etc/sv/acpid/run"
ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"

# Install sysmgr service.
install -Dm755 run "$1/etc/sysmgr/acpid"