From: | "Peter Alfredsen (loki_val)" <loki_val@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/lafilefixer: metadata.xml ChangeLog lafilefixer-0.0.1.ebuild |
Date: | Sun, 19 Apr 2009 15:48:40 |
Message-Id: | E1LvZFm-0006oA-Un@stork.gentoo.org |
1 | loki_val 09/04/19 15:48:22 |
2 | |
3 | Added: metadata.xml ChangeLog lafilefixer-0.0.1.ebuild |
4 | Log: |
5 | Initial commit. Script and ebuild by me. |
6 | (Portage version: 2.2_rc28/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-util/lafilefixer/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>no-herd</herd> |
20 | <maintainer> |
21 | <email>loki_val@g.o</email> |
22 | <name>Peter Alfredsen</name> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 dev-util/lafilefixer/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for dev-util/lafilefixer |
36 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/dev-util/lafilefixer/ChangeLog,v 1.1 2009/04/19 15:48:22 loki_val Exp $ |
38 | |
39 | *lafilefixer-0.0.1 (19 Apr 2009) |
40 | |
41 | 19 Apr 2009; Peter Alfredsen <loki_val@g.o> |
42 | +files/lafilefixer-0.0.1, +metadata.xml, +lafilefixer-0.0.1.ebuild: |
43 | Initial commit. Script and ebuild by me. |
44 | |
45 | |
46 | |
47 | |
48 | 1.1 dev-util/lafilefixer/lafilefixer-0.0.1.ebuild |
49 | |
50 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/lafilefixer-0.0.1.ebuild?rev=1.1&view=markup |
51 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/lafilefixer/lafilefixer-0.0.1.ebuild?rev=1.1&content-type=text/plain |
52 | |
53 | Index: lafilefixer-0.0.1.ebuild |
54 | =================================================================== |
55 | # Copyright 1999-2009 Gentoo Foundation |
56 | # Distributed under the terms of the GNU General Public License v2 |
57 | # $Header: /var/cvsroot/gentoo-x86/dev-util/lafilefixer/lafilefixer-0.0.1.ebuild,v 1.1 2009/04/19 15:48:22 loki_val Exp $ |
58 | |
59 | EAPI=2 |
60 | |
61 | DESCRIPTION="Utility to fix your .la files" |
62 | HOMEPAGE="http://www.gentoo.org/" |
63 | SRC_URI="" |
64 | LICENSE="MIT" |
65 | SLOT="0" |
66 | KEYWORDS="~x86 ~amd64" |
67 | IUSE="" |
68 | DEPEND="" |
69 | RDEPEND=">=app-shells/bash-3.1 |
70 | sys-apps/grep |
71 | sys-apps/coreutils |
72 | sys-apps/sed" |
73 | |
74 | S="" |
75 | |
76 | src_unpack() { : ; } |
77 | src_prepare() { : ; } |
78 | src_configure() { : ; } |
79 | src_unpack() { : ; } |
80 | src_install() { newbin "${FILESDIR}/${P}" ${PN} ; } |
81 | |
82 | pkg_postinst() { |
83 | elog "This simple utility will fix your .la files to not point to other .la files." |
84 | elog "This is desirable because it will ensure your packages are not broken when" |
85 | elog ".la files are removed from other packages." |
86 | elog "The utility is for now quite simple and only accepts a delimited list of" |
87 | elog ".la files." |
88 | elog "" |
89 | elog "Patches are accepted." |
90 | elog "" |
91 | elog "If you want to fix all your .la files, something like this will work:" |
92 | elog "lafilefixer $(find /usr/lib* -name '*.la' -type f)" |
93 | elog "NOTE: If you have kde installed, you may want to add /usr/kde/*/lib* to the" |
94 | elog "list of directories to search for .la files:" |
95 | elog "lafilefixer $(find /usr/lib* /usr/kde/*/lib* -name '*.la' -type f)" |
96 | elog "" |
97 | elog "Verify that all your .la files are fixed with revdep-rebuild from" |
98 | elog "app-portage/gentoolkit" |
99 | } |