2009-03-23 07:38:24 +00:00
|
|
|
# Template file for 'hal'
|
|
|
|
pkgname=hal
|
2010-01-09 00:13:49 +00:00
|
|
|
version=0.5.14
|
2010-01-10 17:17:15 +00:00
|
|
|
revision=1
|
2009-03-23 07:38:24 +00:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
|
|
|
|
build_style=gnu_configure
|
2009-11-30 05:09:41 +00: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 07:38:24 +00:00
|
|
|
short_desc="Hardware Abstraction Layer"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-01-09 00:13:49 +00:00
|
|
|
checksum=c4c5ecc5d50d5d9c061dc06c405461b1f71c12f2c60ed062350b2e6db2f1c51e
|
2009-03-23 07:38:24 +00:00
|
|
|
long_desc="
|
|
|
|
HAL is daemon for collecting and maintaining information from several
|
|
|
|
sources about the hardware on the system."
|
|
|
|
|
2009-10-17 01:12:48 +00:00
|
|
|
keep_empty_dirs=yes
|
2010-01-09 00:13:49 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/dbus-1/system.d/hal.conf
|
|
|
|
/etc/hal/fdi/policy/10-keymap.fdi"
|
2009-05-04 22:26:56 +00:00
|
|
|
openrc_services="hal default"
|
2009-03-23 07:38:24 +00:00
|
|
|
|
2009-12-11 11:07:07 +00:00
|
|
|
# Create hal system account.
|
|
|
|
system_accounts="hal"
|
|
|
|
hal_groups="optical,floppy,storage"
|
|
|
|
|
2010-01-09 00:13:49 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libblkid
|
2010-01-10 17:17:15 +00:00
|
|
|
Add_dependency run dbus-libs
|
2010-01-09 00:13:49 +00: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 17:17:15 +00:00
|
|
|
Add_dependency run dbus
|
2009-03-23 07:38:24 +00: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
|
2009-05-12 00:40:23 +00:00
|
|
|
Add_dependency full pm-utils
|
2009-11-30 05:09:41 +00:00
|
|
|
Add_dependency build pkg-config
|
2010-01-09 00:13:49 +00: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 07:38:24 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
rm -rf ${DESTDIR}/var
|
2009-05-04 22:26:56 +00:00
|
|
|
install -D -m755 ${FILESDIR}/hal.rc ${DESTDIR}/etc/init.d/hal
|
2009-03-26 16:06:32 +00:00
|
|
|
install -D -m644 ${FILESDIR}/10-keymap.fdi \
|
|
|
|
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
|
2009-03-23 07:38:24 +00:00
|
|
|
}
|