2009-03-23 08:38:24 +01:00
|
|
|
# Template file for 'hal'
|
|
|
|
pkgname=hal
|
2010-01-09 01:13:49 +01:00
|
|
|
version=0.5.14
|
2010-04-16 22:09:33 +02:00
|
|
|
revision=3
|
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>"
|
2010-01-09 01:13:49 +01:00
|
|
|
checksum=c4c5ecc5d50d5d9c061dc06c405461b1f71c12f2c60ed062350b2e6db2f1c51e
|
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."
|
|
|
|
|
2010-04-14 12:50:19 +02:00
|
|
|
subpackages="libhal libhal-devel"
|
2009-10-17 03:12:48 +02:00
|
|
|
keep_empty_dirs=yes
|
2010-01-09 01:13:49 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/dbus-1/system.d/hal.conf
|
|
|
|
/etc/hal/fdi/policy/10-keymap.fdi"
|
2010-04-16 22:09:33 +02:00
|
|
|
openrc_services="hal default true"
|
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"
|
|
|
|
|
2010-01-09 01:13:49 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libblkid
|
2010-01-10 18:17:15 +01:00
|
|
|
Add_dependency run dbus-libs
|
2010-01-09 01:13:49 +01:00
|
|
|
Add_dependency run dbus-glib
|
|
|
|
Add_dependency run expat
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run pciutils
|
|
|
|
Add_dependency run ConsoleKit-x11
|
2010-01-10 18:17:15 +01:00
|
|
|
Add_dependency run dbus
|
2010-04-14 12:50:19 +02:00
|
|
|
Add_dependency run libhal
|
|
|
|
|
2009-11-30 06:09:41 +01:00
|
|
|
Add_dependency build pkg-config
|
2010-01-09 01:13:49 +01:00
|
|
|
Add_dependency build libblkid-devel
|
|
|
|
Add_dependency build dbus-devel
|
|
|
|
Add_dependency build dbus-glib-devel
|
|
|
|
Add_dependency build expat-devel
|
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build pciutils-devel
|
|
|
|
Add_dependency build ConsoleKit
|
2009-03-23 08:38:24 +01:00
|
|
|
|
2010-04-14 12:50:19 +02:00
|
|
|
Add_dependency full udev
|
|
|
|
Add_dependency full bash
|
|
|
|
Add_dependency full hal-info
|
|
|
|
Add_dependency full eject
|
|
|
|
Add_dependency full usbutils
|
|
|
|
Add_dependency full dmidecode
|
|
|
|
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
|
|
|
}
|