From: | "Steve Dibb (beandog)" <beandog@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: sword-module.eclass |
Date: | Sat, 23 Feb 2008 17:09:50 |
Message-Id: | E1JSxsi-0007RR-4I@stork.gentoo.org |
1 | beandog 08/02/23 17:09:48 |
2 | |
3 | Added: sword-module.eclass |
4 | Log: |
5 | initial commit |
6 | |
7 | Revision Changes Path |
8 | 1.1 eclass/sword-module.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/sword-module.eclass?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/sword-module.eclass?rev=1.1&content-type=text/plain |
12 | |
13 | Index: sword-module.eclass |
14 | =================================================================== |
15 | # Copyright 1999-2008 Gentoo Foundation |
16 | # Distributed under the terms of the GNU General Public License v2 |
17 | # $Header: /var/cvsroot/gentoo-x86/eclass/sword-module.eclass,v 1.1 2008/02/23 17:09:47 beandog Exp $ |
18 | |
19 | # |
20 | # eclass to simplify installation of Sword modules |
21 | # Bugs to theology@g.o |
22 | # |
23 | |
24 | HOMEPAGE="http://www.crosswire.org/sword/modules/" |
25 | |
26 | # Sword packages are generally released as FooBar.zip in their 'rawzip' form |
27 | # The files are also unversioned, so the packager will need to rename the |
28 | # original file to something else and host it somewhere to avoid breaking |
29 | # the digest when new versions are released. |
30 | |
31 | SRC_URI="mirror://gentoo/${SWORD_MODULE}-${PV}.zip" |
32 | |
33 | SLOT="0" |
34 | IUSE="" |
35 | |
36 | S="${WORKDIR}" |
37 | |
38 | RDEPEND="app-text/sword |
39 | !app-text/sword-modules" |
40 | DEPEND="app-arch/unzip" |
41 | |
42 | sword-module_src_install() { |
43 | insinto /usr/share/sword/modules |
44 | doins -r "${S}"/modules/* |
45 | insinto /usr/share/sword/mods.d |
46 | doins "${S}"/mods.d/* |
47 | } |
48 | |
49 | EXPORT_FUNCTIONS src_install |
50 | |
51 | |
52 | |
53 | -- |
54 | gentoo-commits@l.g.o mailing list |