vp-build/templates/hal/template
Juan RP 899086421b hal: update to 0.5.13.
--HG--
extra : convert_revision : 87367839f6c26ae42383c843e250ec137e20323c
2009-08-11 00:54:05 +02:00

48 lines
1.5 KiB
Plaintext

# Template file for 'hal'
pkgname=hal
version=0.5.13
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=d47c9799c18929cffbce5bfa48f35c89657d7f630c6da682f193928697c71ab5
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
}