void-packages/srcpkgs/hal/template
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00

48 lines
1.5 KiB
Text

# Template file for 'hal'
pkgname=hal
version=0.5.13
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 --with-udev-prefix=/lib"
short_desc="Hardware Abstraction Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d47c9799c18929cffbce5bfa48f35c89657d7f630c6da682f193928697c71ab5
long_desc="
HAL is daemon for collecting and maintaining information from several
sources about the hardware on the system."
keep_empty_dirs=yes
conf_files="/etc/dbus-1/system.d/hal.conf
/etc/hal/fdi/policy/10-keymap.fdi"
openrc_services="hal default"
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
Add_dependency run ConsoleKit-x11
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
Add_dependency full pm-utils
Add_dependency full libblkid
post_install()
{
rm -rf ${DESTDIR}/var
install -D -m755 ${FILESDIR}/hal.rc ${DESTDIR}/etc/init.d/hal
install -D -m644 ${FILESDIR}/10-keymap.fdi \
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
}