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-04-16 20:09:33 +00:00
|
|
|
revision=3
|
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."
|
|
|
|
|
2010-04-14 10:50:19 +00:00
|
|
|
subpackages="libhal libhal-devel"
|
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"
|
2010-04-16 20:09:33 +00:00
|
|
|
openrc_services="hal default true"
|
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
|
2010-04-14 10:50:19 +00:00
|
|
|
Add_dependency run libhal
|
|
|
|
|
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
|
|
|
|
2010-04-14 10:50:19 +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
|
|
|
|
Add_dependency full pm-utils
|
|
|
|
|
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
|
|
|
}
|