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

Contents of /eclass/sword-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 29 18:46:24 2009 UTC (8 years, 5 months ago) by beandog
Branch: MAIN
Changes since 1.1: +2 -3 lines
Update sword-module deps, bug 261514

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/eclass/sword-module.eclass,v 1.1 2008/02/23 17:09:47 beandog Exp $
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 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