summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-05-16 13:52:16 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-05-16 13:52:16 +0000
commita08b2f8a9177838c9718c70ed443788a5e3246ff (patch)
tree8916ae308379bece4ae26c664cc954c5a6c12835 /eclass/vdr-plugin.eclass
parentVersion bump. (diff)
downloadgentoo-2-a08b2f8a9177838c9718c70ed443788a5e3246ff.tar.gz
gentoo-2-a08b2f8a9177838c9718c70ed443788a5e3246ff.tar.bz2
gentoo-2-a08b2f8a9177838c9718c70ed443788a5e3246ff.zip
Revert installing libs to a different tmp directory. Install to $S as before.
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r--eclass/vdr-plugin.eclass18
1 files changed, 8 insertions, 10 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index 42066cdc8977..7fca1f496553 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.60 2008/05/15 14:03:15 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.61 2008/05/16 13:52:16 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -365,8 +365,6 @@ vdr-plugin_pkg_setup() {
TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
LOCDIR="/usr/share/vdr/locale"
- TMP_LIBDIR="${WORKDIR}/tmp-libdir"
-
VDRVERSION=$(awk -F'"' '/define VDRVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
APIVERSION=$(awk -F'"' '/define APIVERSION/ {print $2}' "${VDR_INCLUDE_DIR}"/config.h)
[[ -z ${APIVERSION} ]] && APIVERSION="${VDRVERSION}"
@@ -432,11 +430,10 @@ vdr-plugin_src_compile() {
fi
cd "${S}"
- mkdir -p "${TMP_LIBDIR}"
emake ${BUILD_PARAMS} \
${VDRPLUGIN_MAKE_TARGET:-all} \
LOCALEDIR="${TMP_LOCALE_DIR}" \
- LIBDIR="${TMP_LIBDIR}" \
+ LIBDIR="${S}" \
TMPDIR="${T}" \
|| die "emake failed"
;;
@@ -469,16 +466,17 @@ vdr-plugin_src_install() {
fi
- local p_list="" p_name
- cd "${TMP_LIBDIR}"
+ cd "${S}"
+ insinto "${VDR_PLUGIN_DIR}"
+ doins libvdr-*.so.*
+
+ # create list of all created plugin libs
+ local p_list="" p_name
for p in libvdr-*.so.*; do
p_name="${p%.so*}"
p_name="${p_name#lib}"
p_list="${p_list} ${p_name}"
-
- insinto "${VDR_PLUGIN_DIR}"
- doins "$p"
done
create_header_checksum_file ${p_list}