/[gentoo-x86]/eclass/sword-module.eclass
Gentoo

Contents of /eclass/sword-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Dec 27 17:55:12 2011 UTC (2 years, 3 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Update copyright years in headers

1 fauli 1.3 # Copyright 1999-2011 Gentoo Foundation
2 beandog 1.1 # Distributed under the terms of the GNU General Public License v2
3 fauli 1.3 # $Header: /var/cvsroot/gentoo-x86/eclass/sword-module.eclass,v 1.2 2009/05/29 18:46:24 beandog Exp $
4 beandog 1.1
5     #
6     # eclass to simplify installation of Sword modules
7     # Bugs to theology@gentoo.org
8     #
9    
10     HOMEPAGE="http://www.crosswire.org/sword/modules/"
11    
12     # Sword packages are generally released as FooBar.zip in their 'rawzip' form
13     # The files are also unversioned, so the packager will need to rename the
14     # original file to something else and host it somewhere to avoid breaking
15     # the digest when new versions are released.
16    
17     SRC_URI="mirror://gentoo/${SWORD_MODULE}-${PV}.zip"
18    
19     SLOT="0"
20     IUSE=""
21    
22     S="${WORKDIR}"
23    
24 beandog 1.2 RDEPEND="app-text/sword"
25 beandog 1.1 DEPEND="app-arch/unzip"
26    
27     sword-module_src_install() {
28     insinto /usr/share/sword/modules
29     doins -r "${S}"/modules/*
30     insinto /usr/share/sword/mods.d
31     doins "${S}"/mods.d/*
32     }
33    
34     EXPORT_FUNCTIONS src_install

  ViewVC Help
Powered by ViewVC 1.1.20