/[gentoo-x86]/sys-apps/hal/hal-0.5.10.ebuild
Gentoo

Diff of /sys-apps/hal/hal-0.5.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.10.ebuild,v 1.4 2007/12/25 12:19:05 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.10.ebuild,v 1.5 2008/01/05 19:23:07 compnerd Exp $
4 4
5inherit eutils linux-info autotools flag-o-matic 5inherit eutils linux-info autotools flag-o-matic
6 6
7PATCH_VER="p1" 7PATCH_VER="0"
8 8
9DESCRIPTION="Hardware Abstraction Layer" 9DESCRIPTION="Hardware Abstraction Layer"
10HOMEPAGE="http://www.freedesktop.org/Software/hal" 10HOMEPAGE="http://www.freedesktop.org/Software/hal"
11SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz 11SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz
12 http://dev.gentoo.org/~cardoe/files/${PN}/${P}-${PATCH_VER}.tar.bz2" 12 http://dev.gentoo.org/~compnerd/files/${PN}/${P}-gentoo-patches-${PATCH_VER}.tar.bz2"
13 13
14LICENSE="|| ( GPL-2 AFL-2.0 )" 14LICENSE="|| ( GPL-2 AFL-2.0 )"
15SLOT="0" 15SLOT="0"
16KEYWORDS="~amd64 ~x86" 16KEYWORDS="~amd64 ~x86"
17 17
22 >=dev-libs/dbus-glib-0.61 22 >=dev-libs/dbus-glib-0.61
23 >=dev-libs/expat-1.95.8 23 >=dev-libs/expat-1.95.8
24 >=sys-apps/pciutils-2.2.7-r1 24 >=sys-apps/pciutils-2.2.7-r1
25 >=dev-libs/libusb-0.1.10a 25 >=dev-libs/libusb-0.1.10a
26 >=dev-util/gperf-3.0.3 26 >=dev-util/gperf-3.0.3
27 >=sys-auth/consolekit-0.2
28 >=sys-auth/policykit-0.6
29 sys-apps/usbutils 27 sys-apps/usbutils
30 virtual/eject 28 virtual/eject
31 amd64? ( >=sys-apps/dmidecode-2.7 ) 29 amd64? ( >=sys-apps/dmidecode-2.7 )
32 dell? ( >=sys-libs/libsmbios-0.13.4 ) 30 dell? ( >=sys-libs/libsmbios-0.13.4 )
33 disk-partition? ( 31 disk-partition? (
115 notify_uevent 113 notify_uevent
116 fi 114 fi
117 115
118 linux_chkconfig_present INOTIFY_USER || notify_inotify 116 linux_chkconfig_present INOTIFY_USER || notify_inotify
119 117
120 if use acpi ; then 118 if kernel_is lt 2 6 23 && use acpi ; then
121 linux_chkconfig_present ACPI_PROCFS || notify_acpi_procfs 119 linux_chkconfig_present ACPI_PROCFS || notify_acpi_procfs
122 linux_chkconfig_present ACPI_PROC_EVENT || notify_acpi_proc_event 120 linux_chkconfig_present ACPI_PROC_EVENT || notify_acpi_proc_event
123 fi 121 fi
124 fi 122 fi
125 123
153 151
154src_unpack() { 152src_unpack() {
155 unpack ${A} 153 unpack ${A}
156 cd "${S}" 154 cd "${S}"
157 155
158 # patchset from http://dev.gentoo.org/~cardoe/repos/hal.git 156 EPATCH_MULTI_MSG="Applying Gentoo Patchset ..." \
159 EPATCH_MULTI_MSG="Applying http://dev.gentoo.org/~cardoe/repos/hal.git patchset ..." \
160 EPATCH_SUFFIX="patch" \ 157 EPATCH_SUFFIX="patch" \
161 EPATCH_SOURCE="${WORKDIR}/hal-0.5.10-patches/" \ 158 EPATCH_SOURCE="${WORKDIR}/hal-0.5.10-patches/" \
162 EPATCH_FORCE="yes" \ 159 EPATCH_FORCE="yes" \
163 epatch 160 epatch
164 161
165 # Hide recovery partitions 162 # Hide recovery partitions
166 epatch "${FILESDIR}/hal-0.5.9-hide-recovery-partitions.patch" 163 epatch "${FILESDIR}/hal-0.5.9-hide-recovery-partitions.patch"
167 164
168 # Enable plugdev support 165 # Enable plugdev support
169 epatch "${FILESDIR}/96_plugdev_allow_send.patch" 166 epatch "${FILESDIR}/96_plugdev_allow_send.patch"
167
168 eautoreconf
170} 169}
171 170
172src_compile() { 171src_compile() {
173 local acpi="$(use_enable acpi)" 172 local acpi="$(use_enable acpi)"
174 local backend= 173 local backend=
220 --with-pid-file=/var/run/hald.pid \ 219 --with-pid-file=/var/run/hald.pid \
221 --with-hwdata=/usr/share/misc \ 220 --with-hwdata=/usr/share/misc \
222 --with-socket-dir=/var/run/hald \ 221 --with-socket-dir=/var/run/hald \
223 --enable-umount-helper \ 222 --enable-umount-helper \
224 --enable-man-pages \ 223 --enable-man-pages \
225 --enable-policy-kit \ 224 --disable-policy-kit \
226 --enable-console-kit \ 225 --disable-console-kit \
227 --enable-acl-management \ 226 --disable-acl-management \
228 --enable-pci \ 227 --enable-pci \
229 --enable-sonypic \ 228 --enable-sonypic \
230 $(use_enable apm) \ 229 $(use_enable apm) \
231 $(use_enable arm pmu) \ 230 $(use_enable arm pmu) \
232 $(use_enable arm omap) \ 231 $(use_enable arm omap) \

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20