1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 # eclass to simplify installation of Sword modules
7 # Bugs to theology@gentoo.org
10 HOMEPAGE="http://www.crosswire.org/sword/modules/"
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.
17 SRC_URI="mirror://gentoo/${SWORD_MODULE}-${PV}.zip"
24 RDEPEND="app-text/sword"
25 DEPEND="app-arch/unzip"
27 sword-module_src_install() {
28 insinto /usr/share/sword/modules
29 doins -r "${S}"/modules/*
30 insinto /usr/share/sword/mods.d
34 EXPORT_FUNCTIONS src_install