| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/mythtv-plugins.eclass,v 1.15 2006/09/14 07:10:35 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.16 2006/09/14 20:33:11 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Doug Goldstein <cardoe@gentoo.org> |
5 | # Author: Doug Goldstein <cardoe@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
7 | # Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
| 8 | # |
8 | # |
| … | |
… | |
| 67 | -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \ |
67 | -e "s:\$\${PREFIX}/lib/:\$\${PREFIX}/$(get_libdir)/:g" \ |
| 68 | -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \ |
68 | -e "s:\$\${PREFIX}/lib$:\$\${PREFIX}/$(get_libdir):g" \ |
| 69 | {} \; |
69 | {} \; |
| 70 | |
70 | |
| 71 | if [ -n "$PATCHREV" ]; then |
71 | if [ -n "$PATCHREV" ]; then |
| 72 | patch -p0 < ${WORKDIR}/mythplugins-${MY_PV}_svn${PATCHREV}.patch |
72 | epatch ${WORKDIR}/mythplugins-${MY_PV}_svn${PATCHREV}.patch |
| 73 | fi |
73 | fi |
| 74 | } |
74 | } |
| 75 | |
75 | |
| 76 | mythtv-plugins_src_compile() { |
76 | mythtv-plugins_src_compile() { |
| 77 | cd "${S}" |
77 | cd "${S}" |