/[gentoo-x86]/eclass/mythtv.eclass
Gentoo

Contents of /eclass/mythtv.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Sep 20 03:43:24 2006 UTC (7 years, 10 months ago) by cardoe
Branch: MAIN
Changes since 1.1: +2 -1 lines
Juggle around the LICENSE

1 cardoe 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 cardoe 1.2 # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.1 2006/09/19 23:16:05 cardoe Exp $
4 cardoe 1.1 #
5     # Author: Doug Goldstein <cardoe@gentoo.org>
6     #
7     # Downloads the MythTV source packages and any patches from the fixes branch
8     #
9     inherit eutils
10    
11     # Release version
12     MY_PV="${PV%_*}"
13    
14     # SVN revision number to increment from the released version
15     if [ "x${MY_PV}" != "x${PV}" ]; then
16     PATCHREV="${PV##*_p}"
17     fi
18    
19     if [ "x${PN}" = "xmythtv" ]; then
20     MY_PN="mythtv"
21     else
22     MY_PN="mythplugins"
23     fi
24    
25     HOMEPAGE="http://www.mythtv.org"
26 cardoe 1.2 LICENSE="GPL-2"
27 cardoe 1.1 SRC_URI="http://ftp.osuosl.org/pub/mythtv/${MY_PN}-${MY_PV}.tar.bz2"
28     if [ -n "${PATCHREV}" ] ; then
29     SRC_URI="${SRC_URI} http://dev.gentoo.org/~cardoe/files/mythtv/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch.bz2"
30     fi
31    
32     mythtv-fixes_patch() {
33     if [ -n "$PATCHREV" ]; then
34     epatch ${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch
35     fi
36     }

  ViewVC Help
Powered by ViewVC 1.1.20