void-packages/templates/hal/template

48 lines
1.5 KiB
Plaintext

# Template file for 'hal'
pkgname=hal
version=0.5.12
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-man-pages --enable-console-kit --enable-policy-kit
--enable-acpi-ibm --enable-acpi-toshiba --disable-parted --enable-sonypic
--with-hal-user=hal --with-hal-group=hal --localstatedir=/var
--disable-docbook-docs --with-udev-prefix=/lib"
short_desc="Hardware Abstraction Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3e7546f39b716a21216f56d394f58d41fb03e44f876e4529c658c6dc7c18ef10
long_desc="
HAL is daemon for collecting and maintaining information from several
sources about the hardware on the system."
conf_files="/etc/dbus-1/system.d/hal.conf
/etc/hal/fdi/policy/10-keymap.fdi"
openrc_services="hal default"
Add_dependency full glibc
Add_dependency full udev
Add_dependency full dbus
Add_dependency full dbus-glib
Add_dependency full expat
Add_dependency full bash
Add_dependency full hal-info
Add_dependency full eject
Add_dependency full PolicyKit
Add_dependency full ConsoleKit
Add_dependency run ConsoleKit-x11
Add_dependency full pciutils
Add_dependency full usbutils
Add_dependency full dmidecode
Add_dependency build pkg-config
Add_dependency build libsmbios
Add_dependency run libsmbios-utils
Add_dependency full pm-utils
Add_dependency full libblkid
post_install()
{
rm -rf ${DESTDIR}/var
install -D -m755 ${FILESDIR}/hal.rc ${DESTDIR}/etc/init.d/hal
install -D -m644 ${FILESDIR}/10-keymap.fdi \
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
}