From: | Torsten Veller <tove@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Cc: | armin76@g.o |
Subject: | [gentoo-dev] Re: gentoo-x86 commit in net-irc/epic4: ChangeLog epic4-2.8.ebuild |
Date: | Fri, 21 Sep 2007 15:42:55 |
Message-Id: | 20070921153133.GA30488@veller.net |
1 | * "Raul Porcel (armin76)" <armin76@g.o>: |
2 | > armin76 07/09/20 19:10:45 |
3 | > |
4 | > Modified: ChangeLog |
5 | > Added: epic4-2.8.ebuild |
6 | > Log: |
7 | > Version bump |
8 | > (Portage version: 2.1.3.9) |
9 | > |
10 | > 1.1 net-irc/epic4/epic4-2.8.ebuild |
11 | > |
12 | > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/epic4-2.8.ebuild?rev=1.1&view=markup |
13 | > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/epic4-2.8.ebuild?rev=1.1&content-type=text/plain |
14 | > |
15 | > Index: epic4-2.8.ebuild |
16 | > =================================================================== |
17 | > # Copyright 1999-2007 Gentoo Foundation |
18 | > # Distributed under the terms of the GNU General Public License v2 |
19 | > # $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-2.8.ebuild,v 1.1 2007/09/20 19:10:44 armin76 Exp $ |
20 | > |
21 | > inherit flag-o-matic eutils |
22 | > |
23 | > HELP_V="20050315" |
24 | > |
25 | > DESCRIPTION="Epic4 IRC Client" |
26 | > HOMEPAGE="http://epicsol.org/" |
27 | > SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/${P}.tar.bz2 |
28 | > ftp://prbh.org/pub/epic/EPIC4-PRODUCTION/epic4-help-${HELP_V}.tar.gz |
29 | > mirror://gentoo/epic4-local.bz2" |
30 | > |
31 | [...] |
32 | > pkg_postinst() { |
33 | > if [ ! -f ${ROOT}/usr/share/epic/script/local ] |
34 | > then |
35 | > elog "/usr/share/epic/script/local does not exist, I will now" |
36 | > elog "create it. If you do not like the look/feel of this file, or" |
37 | > elog "if you'd prefer to use your own script, simply remove this" |
38 | > elog "file. If you want to prevent this file from being installed" |
39 | > elog "in the future, simply create an empty file with this name." |
40 | > cp ${WORKDIR}/epic4-local ${ROOT}/usr/share/epic/script/local |
41 | ^^^^^^^^^^^^^^^^^^^^^^ |
42 | This probably does not exist. |
43 | Installing a default file and testing in pkg_preinst() might be better. |
44 | |
45 | src_install() { |
46 | [...] |
47 | newins "${WORKDIR}"/epic4-local local.gentoodefault |
48 | [...] |
49 | } |
50 | pkg_preinst() { |
51 | if [ ! -f "${ROOT}"/usr/share/epic/script/local ] && \ |
52 | [ ! -f "${D}"/usr/share/epic/script/local ] |
53 | then |
54 | elog ... |
55 | cp "${D}"/usr/share/epic/script/local{.gentoodefault,} |
56 | fi |
57 | } |
58 | |
59 | |
60 | -- |
61 | .: Regards Torsten | :. |
62 | -- |
63 | gentoo-dev@g.o mailing list |
Subject | Author |
---|---|
[gentoo-dev] Re: gentoo-x86 commit in net-irc/epic4: ChangeLog epic4-2.8.ebuild | Torsten Veller <tove@g.o> |