summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-03-14 16:03:01 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-03-14 16:03:01 +0000
commitdc64613e8cab75f5df0579478620710da4b5f610 (patch)
treee696e66d7a30e0896c75af3e7928021695903d90 /eclass
parentStable on hppa (diff)
downloadgentoo-2-dc64613e8cab75f5df0579478620710da4b5f610.tar.gz
gentoo-2-dc64613e8cab75f5df0579478620710da4b5f610.tar.bz2
gentoo-2-dc64613e8cab75f5df0579478620710da4b5f610.zip
Create a file with the checksum of the vdr-header-files against which the plugin was compiled.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin.eclass12
1 files changed, 11 insertions, 1 deletions
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 <zzam@gentoo.org>
@@ -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() {