2009-03-23 08:38:24 +01:00
|
|
|
# Template file for 'hal'
|
|
|
|
pkgname=hal
|
2009-08-11 00:54:05 +02:00
|
|
|
version=0.5.13
|
2009-12-19 05:03:18 +01:00
|
|
|
revision=5
|
2009-03-23 08:38:24 +01:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2009-11-30 06:09:41 +01:00
|
|
|
configure_args="--enable-static=no --disable-console-kit
|
|
|
|
--disable-policy-kit --disable-acpi-ibm --disable-parted
|
|
|
|
--disable-acl-management --disable-smbios --enable-umount-helper
|
|
|
|
--disable-docbook-docs --with-udev-prefix=/lib --localstatedir=/var
|
|
|
|
--with-hal-user=hal --with-hal-group=hal"
|
2009-03-23 08:38:24 +01:00
|
|
|
short_desc="Hardware Abstraction Layer"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-08-11 00:54:05 +02:00
|
|
|
checksum=d47c9799c18929cffbce5bfa48f35c89657d7f630c6da682f193928697c71ab5
|
2009-03-23 08:38:24 +01:00
|
|
|
long_desc="
|
|
|
|
HAL is daemon for collecting and maintaining information from several
|
|
|
|
sources about the hardware on the system."
|
|
|
|
|
2009-10-17 03:12:48 +02:00
|
|
|
keep_empty_dirs=yes
|
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"
|
2009-03-23 08:38:24 +01:00
|
|
|
|
2009-12-11 12:07:07 +01:00
|
|
|
# Create hal system account.
|
|
|
|
system_accounts="hal"
|
|
|
|
hal_groups="optical,floppy,storage"
|
|
|
|
|
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 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
|
2009-05-12 02:40:23 +02:00
|
|
|
Add_dependency full pm-utils
|
2009-05-13 07:05:46 +02:00
|
|
|
Add_dependency full libblkid
|
2009-11-30 06:09:41 +01:00
|
|
|
Add_dependency build pkg-config
|
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
|
|
|
}
|