2009-03-23 08:38:24 +01:00
|
|
|
# Template file for 'hal'
|
|
|
|
pkgname=hal
|
|
|
|
version=0.5.12rc1
|
2009-05-12 02:40:23 +02:00
|
|
|
revision=4
|
2009-03-23 08:38:24 +01:00
|
|
|
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"
|
|
|
|
short_desc="Hardware Abstraction Layer"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum=eeeb438dcc2a58288ed3def8c1d0076ca16f35b54d501c46f96e89da24fe38f4
|
|
|
|
long_desc="
|
|
|
|
HAL is daemon for collecting and maintaining information from several
|
|
|
|
sources about the hardware on the system."
|
|
|
|
|
2009-03-26 17:06:32 +01:00
|
|
|
conf_files="/etc/dbus-1/system.d/hal.conf
|
|
|
|
/etc/hal/fdi/policy/10-keymap.fdi"
|
2009-05-05 00:26:56 +02:00
|
|
|
openrc_services="hal default"
|
|
|
|
triggers="openrc-service"
|
2009-03-23 08:38:24 +01:00
|
|
|
|
|
|
|
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
|
2009-05-08 19:12:17 +02:00
|
|
|
Add_dependency run ConsoleKit-x11
|
2009-03-23 08:38:24 +01:00
|
|
|
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
|
2009-05-05 00:26:56 +02:00
|
|
|
Add_dependency run OpenRC
|
2009-05-12 02:40:23 +02:00
|
|
|
Add_dependency full pm-utils
|
2009-03-23 08:38:24 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/var
|
2009-05-05 00:26:56 +02:00
|
|
|
install -D -m755 ${FILESDIR}/hal.rc ${DESTDIR}/etc/init.d/hal
|
2009-03-26 17:06:32 +01:00
|
|
|
install -D -m644 ${FILESDIR}/10-keymap.fdi \
|
|
|
|
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
|
2009-03-23 08:38:24 +01:00
|
|
|
}
|