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

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

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

Revision 1.23 Revision 1.24
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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.9.ebuild,v 1.23 2007/04/17 16:26:30 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.9.ebuild,v 1.24 2007/04/18 14:31:07 cardoe Exp $
4 4
5inherit eutils linux-info autotools flag-o-matic 5inherit eutils linux-info autotools flag-o-matic
6 6
7DESCRIPTION="Hardware Abstraction Layer" 7DESCRIPTION="Hardware Abstraction Layer"
8HOMEPAGE="http://www.freedesktop.org/Software/hal" 8HOMEPAGE="http://www.freedesktop.org/Software/hal"
11LICENSE="|| ( GPL-2 AFL-2.0 )" 11LICENSE="|| ( GPL-2 AFL-2.0 )"
12SLOT="0" 12SLOT="0"
13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" 13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
14 14
15KERNEL_IUSE="kernel_linux kernel_FreeBSD" 15KERNEL_IUSE="kernel_linux kernel_FreeBSD"
16IUSE="acpi crypt debug dell disk-partition doc pam pcmcia selinux ${KERNEL_IUSE}" 16IUSE="acpi crypt debug dell disk-partition doc pcmcia selinux ${KERNEL_IUSE}"
17 17
18RDEPEND=">=dev-libs/glib-2.6 18RDEPEND=">=dev-libs/glib-2.6
19 >=dev-libs/dbus-glib-0.61 19 >=dev-libs/dbus-glib-0.61
20 kernel_linux? ( >=sys-fs/udev-104 ) 20 kernel_linux? ( >=sys-fs/udev-104 )
21 kernel_linux? ( >=sys-apps/util-linux-2.12r-r1 ) 21 kernel_linux? ( >=sys-apps/util-linux-2.12r-r1 )
30 ia64? ( >=sys-apps/dmidecode-2.7 ) 30 ia64? ( >=sys-apps/dmidecode-2.7 )
31 dell? ( >=sys-libs/libsmbios-0.13.4 ) 31 dell? ( >=sys-libs/libsmbios-0.13.4 )
32 disk-partition? ( >=sys-apps/parted-1.7.1 ) 32 disk-partition? ( >=sys-apps/parted-1.7.1 )
33 kernel_linux? ( crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 ) ) 33 kernel_linux? ( crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 ) )
34 selinux? ( sys-libs/libselinux 34 selinux? ( sys-libs/libselinux
35 sec-policy/selinux-hal ) 35 sec-policy/selinux-hal )"
36 pam? ( sys-auth/consolekit )" 36# pam? ( sys-auth/consolekit )"
37 37
38DEPEND="${RDEPEND} 38DEPEND="${RDEPEND}
39 dev-util/pkgconfig 39 dev-util/pkgconfig
40 >=dev-util/intltool-0.35 40 >=dev-util/intltool-0.35
41 doc? ( app-doc/doxygen app-text/docbook-sgml-utils )" 41 doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
149 $(use_enable disk-partition parted) \ 149 $(use_enable disk-partition parted) \
150 $(use_enable pcmcia pcmcia-support) \ 150 $(use_enable pcmcia pcmcia-support) \
151 $(use_enable doc docbook-docs) \ 151 $(use_enable doc docbook-docs) \
152 $(use_enable doc doxygen-docs) \ 152 $(use_enable doc doxygen-docs) \
153 $(use_enable selinux) \ 153 $(use_enable selinux) \
154 $(use_enable pam console-kit) \ 154 --disable-console-kit \
155 ${acpi} \ 155 ${acpi} \
156 || die "configure failed" 156 || die "configure failed"
157#$(use_enable pam console-kit)
157 158
158 emake || die "make failed" 159 emake || die "make failed"
159} 160}
160 161
161src_install() { 162src_install() {
170 newexe "${FILESDIR}"/hal-unmount.dev hal_unmount 171 newexe "${FILESDIR}"/hal-unmount.dev hal_unmount
171 172
172 # initscript 173 # initscript
173 newinitd "${FILESDIR}"/0.5.9-hald.rc hald 174 newinitd "${FILESDIR}"/0.5.9-hald.rc hald
174 cp "${FILESDIR}"/0.5.9-hald.conf "${WORKDIR}"/ 175 cp "${FILESDIR}"/0.5.9-hald.conf "${WORKDIR}"/
175 if use pam; then 176# if use pam; then
176 sed -e 's:RC_NEED="":RC_NEED="consolekit":' -i "${WORKDIR}"/0.5.9-hald.conf 177# sed -e 's:RC_NEED="":RC_NEED="consolekit":' -i "${WORKDIR}"/0.5.9-hald.conf
177 fi 178# fi
178 if use debug; then 179 if use debug; then
179 sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \ 180 sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \
180 -i "${WORKDIR}"/0.5.9-hald.conf 181 -i "${WORKDIR}"/0.5.9-hald.conf
181 fi 182 fi
182 newconfd "${WORKDIR}"/0.5.9-hald.conf hald 183 newconfd "${WORKDIR}"/0.5.9-hald.conf hald

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20