#!/bin/sh

. config/options $1

mkdir -p $INSTALL/usr/sbin
  cp $PKG_BUILD/acpid $INSTALL/usr/sbin

mkdir -p $INSTALL/etc/acpi/events
  cp $PKG_DIR/config/power $INSTALL/etc/acpi/events

mkdir -p $INSTALL/etc/acpi/actions
  cp $PKG_DIR/scripts/powerdown.sh $INSTALL/etc/acpi/actions

if [ "$DEVTOOLS" = yes ]; then
  mkdir -p $INSTALL/usr/bin
    cp $PKG_BUILD/acpi_listen $INSTALL/usr/bin
fi
