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
commitba415c3d106d032e66c2f8ea6f4dfa11c24069e1 (patch)
treef28edc2fa6688fda4f109522977bb1f3c1ab2403 /eclass
parentAdded nptlonly and INPUT_DEVICES to parent profile and win32codecs to desktop. (diff)
downloadhistorical-ba415c3d106d032e66c2f8ea6f4dfa11c24069e1.tar.gz
historical-ba415c3d106d032e66c2f8ea6f4dfa11c24069e1.tar.bz2
historical-ba415c3d106d032e66c2f8ea6f4dfa11c24069e1.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() {