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

Contents of /eclass/sword-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Feb 23 17:09:47 2008 UTC (10 years, 2 months ago) by beandog
Branch: MAIN
initial commit

1 beandog 1.1 # Copyright 1999-2008 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     RDEPEND="app-text/sword
25     !app-text/sword-modules"
26     DEPEND="app-arch/unzip"
27    
28     sword-module_src_install() {
29     insinto /usr/share/sword/modules
30     doins -r "${S}"/modules/*
31     insinto /usr/share/sword/mods.d
32     doins "${S}"/mods.d/*
33     }
34    
35     EXPORT_FUNCTIONS src_install

  ViewVC Help
Powered by ViewVC 1.1.20