/[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.15 Revision 1.16
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.15 2006/03/15 09:14:37 zzam Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.16 2006/03/15 09:48:53 zzam Exp $
4# 4#
5# Author: 5# Author:
6# Matthias Schwarzott <zzam@gentoo.org> 6# Matthias Schwarzott <zzam@gentoo.org>
7 7
8# vdr-plugin.eclass 8# vdr-plugin.eclass
197 newins "${f}" plugin-${VDRPLUGIN}.sh 197 newins "${f}" plugin-${VDRPLUGIN}.sh
198 break 198 break
199 fi 199 fi
200 done 200 done
201 201
202 insinto /usr/lib/vdr/checksums
203 if [[ -f ${ROOT}/usr/lib/vdr/checksums/header-md5-vdr ]]; then
204 newins ${ROOT}/usr/lib/vdr/checksums/header-md5-vdr header-md5-${PN}
205 else
202 if which md5sum >/dev/null 2>&1; then 206 if which md5sum >/dev/null 2>&1; then
203 cd ${S} 207 cd ${S}
204 insinto /usr/lib/vdr/checksums
205 ( 208 (
206 cd ${ROOT}${VDR_INCLUDE_DIR}/vdr 209 cd ${ROOT}${VDR_INCLUDE_DIR}/vdr
207 md5sum *.h libsi/*.h|sort --key=2 210 md5sum *.h libsi/*.h|LC_ALL=C sort --key=2
208 ) > header-md5-${PN} 211 ) > header-md5-${PN}
209 doins header-md5-${PN} 212 doins header-md5-${PN}
213 fi
210 fi 214 fi
211} 215}
212 216
213vdr-plugin_pkg_postinst() { 217vdr-plugin_pkg_postinst() {
214 update_vdrplugindb 218 update_vdrplugindb

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20