/[gentoo-x86]/eclass/vdr-plugin.eclass
Gentoo

Diff of /eclass/vdr-plugin.eclass

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

Revision 1.41 Revision 1.42
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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/eclass/Attic/vdr-plugin.eclass,v 1.41 2007/01/06 14:47:04 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.42 2007/02/17 01:07:48 zzam Exp $
4# 4#
5# Author: 5# Author:
6# Matthias Schwarzott <zzam@gentoo.org> 6# Matthias Schwarzott <zzam@gentoo.org>
7# Joerg Bornkessel <hd_brummy@gentoo.org> 7# Joerg Bornkessel <hd_brummy@gentoo.org>
8 8
347 newins "${VDR_RCADDON_FILE}" plugin-${VDRPLUGIN}.sh 347 newins "${VDR_RCADDON_FILE}" plugin-${VDRPLUGIN}.sh
348 fi 348 fi
349 349
350 350
351 351
352 # Danger: Not using $ROOT here, as compile will also not use it !!!
353 # If vdr in $ROOT and / differ, plugins will not run anyway
354
352 insinto ${VDR_CHECKSUM_DIR} 355 insinto ${VDR_CHECKSUM_DIR}
353 if [[ -f ${ROOT}${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then 356 if [[ -f ${VDR_CHECKSUM_DIR}/header-md5-vdr ]]; then
354 newins ${ROOT}${VDR_CHECKSUM_DIR}/header-md5-vdr header-md5-${PN} 357 newins ${VDR_CHECKSUM_DIR}/header-md5-vdr header-md5-${PN}
355 else 358 else
356 if which md5sum >/dev/null 2>&1; then 359 if which md5sum >/dev/null 2>&1; then
357 cd ${S} 360 cd ${S}
358 ( 361 (
359 cd ${ROOT}${VDR_INCLUDE_DIR} 362 cd ${VDR_INCLUDE_DIR}
360 md5sum *.h libsi/*.h|LC_ALL=C sort --key=2 363 md5sum *.h libsi/*.h|LC_ALL=C sort --key=2
361 ) > header-md5-${PN} 364 ) > header-md5-${PN}
362 doins header-md5-${PN} 365 doins header-md5-${PN}
363 fi 366 fi
364 fi 367 fi

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20