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

Diff of /sys-apps/hal/hal-0.5.11-r3.ebuild

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2008 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.11-r3.ebuild,v 1.3 2008/12/19 17:37:01 pva Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.11-r3.ebuild,v 1.4 2008/12/23 20:43:00 cardoe Exp $
4 4
5inherit eutils linux-info autotools flag-o-matic 5inherit eutils linux-info autotools flag-o-matic
6 6
7PATCH_VERSION="3" 7PATCH_VERSION="3"
8 8
205 205
206 emake || die "make failed" 206 emake || die "make failed"
207} 207}
208 208
209src_install() { 209src_install() {
210 make DESTDIR="${D}" install || die 210 emake DESTDIR="${D}" install || die
211 dodoc AUTHORS ChangeLog NEWS README 211 dodoc AUTHORS ChangeLog NEWS README || die "docs failed"
212 212
213 # hal umount for unclean unmounts 213 # hal umount for unclean unmounts
214 exeinto /lib/udev/ 214 exeinto /lib/udev/
215 newexe "${FILESDIR}/hal-unmount.dev" hal_unmount 215 newexe "${FILESDIR}/hal-unmount.dev" hal_unmount || die "udev helper failed"
216 216
217 # initscript 217 # initscript
218 newinitd "${FILESDIR}/0.5.10-hald.rc" hald 218 newinitd "${FILESDIR}/0.5.10-hald.rc" hald || die "init script failed"
219 219
220 # configuration 220 # configuration
221 cp "${FILESDIR}/0.5.10-hald.conf" "${WORKDIR}/" 221 cp "${FILESDIR}/0.5.10-hald.conf" "${WORKDIR}/" || \
222 die "failed to copy hald.conf"
222 223
223 if use debug; then 224 if use debug; then
224 sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \ 225 sed -e 's:HALD_VERBOSE="no":HALD_VERBOSE="yes":' \
225 -i "${WORKDIR}/0.5.10-hald.conf" 226 -i "${WORKDIR}/0.5.10-hald.conf" || die "failed to change verbose"
226 fi 227 fi
227 newconfd "${WORKDIR}/0.5.10-hald.conf" hald 228 newconfd "${WORKDIR}/0.5.10-hald.conf" hald
228 229
229 if use X ; then 230 if use X ; then
230 # New Configuration Snippets 231 # New Configuration Snippets

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

  ViewVC Help
Powered by ViewVC 1.1.20