From ba415c3d106d032e66c2f8ea6f4dfa11c24069e1 Mon Sep 17 00:00:00 2001 From: Matthias Schwarzott Date: Tue, 14 Mar 2006 16:03:01 +0000 Subject: Create a file with the checksum of the vdr-header-files against which the plugin was compiled. --- eclass/vdr-plugin.eclass | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass index 3da72f9ae3cb..61ffa7432369 100644 --- a/eclass/vdr-plugin.eclass +++ b/eclass/vdr-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.13 2006/03/04 17:43:51 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.14 2006/03/14 16:03:01 zzam Exp $ # # Author: # Matthias Schwarzott @@ -195,6 +195,16 @@ vdr-plugin_src_install() { break fi done + + if which md5sum >/dev/null 2>&1; then + cd ${S} + insinto /usr/lib/vdr/checksums + ( + cd ${ROOT}${VDR_INCLUDE_DIR}/vdr + md5sum *.h libsi/*.h|sort --key=2 + ) > header-md5-${PN} + doins header-md5-${PN} + fi } vdr-plugin_pkg_postinst() { -- cgit v1.2.3-65-gdbad