1 |
darkside 09/01/23 05:57:56 |
2 |
|
3 |
Added: metadata.xml ChangeLog sreadahead-0.04.ebuild |
4 |
Log: |
5 |
Initial commit, ebuild by Anna Gabutero, bug 255724 |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sys-apps/sreadahead/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/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>darkside@g.o</email> |
22 |
</maintainer> |
23 |
</pkgmetadata> |
24 |
|
25 |
|
26 |
|
27 |
1.1 sys-apps/sreadahead/ChangeLog |
28 |
|
29 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/ChangeLog?rev=1.1&view=markup |
30 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/ChangeLog?rev=1.1&content-type=text/plain |
31 |
|
32 |
Index: ChangeLog |
33 |
=================================================================== |
34 |
# ChangeLog for sys-apps/sreadahead |
35 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
36 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/ChangeLog,v 1.1 2009/01/23 05:57:56 darkside Exp $ |
37 |
|
38 |
*sreadahead-0.04 (23 Jan 2009) |
39 |
|
40 |
23 Jan 2009; Jeremy Olexa <darkside@g.o> +files/sreadahead.rc, |
41 |
+files/sreadahead-pack.rc, +metadata.xml, +sreadahead-0.04.ebuild: |
42 |
Initial commit, ebuild by Anna Gabutero, bug 255724 |
43 |
|
44 |
|
45 |
|
46 |
|
47 |
1.1 sys-apps/sreadahead/sreadahead-0.04.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/sreadahead-0.04.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/sreadahead/sreadahead-0.04.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: sreadahead-0.04.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2009 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sreadahead/sreadahead-0.04.ebuild,v 1.1 2009/01/23 05:57:56 darkside Exp $ |
57 |
|
58 |
EAPI=2 |
59 |
|
60 |
DESCRIPTION="A readahead implementation optimized for solid state discs" |
61 |
HOMEPAGE="http://code.google.com/p/sreadahead/" |
62 |
SRC_URI="http://sreadahead.googlecode.com/files/${P}.tar.gz" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64" |
67 |
IUSE="" |
68 |
|
69 |
DEPEND="" |
70 |
RDEPEND="" |
71 |
|
72 |
src_install() { |
73 |
emake DESTDIR="${D}" install || die "emake install failed" |
74 |
dodoc README 0001-superreadahead-patch.patch || die |
75 |
newinitd "${FILESDIR}"/sreadahead.rc sreadahead || die |
76 |
newinitd "${FILESDIR}"/sreadahead-pack.rc sreadahead-pack || die |
77 |
} |
78 |
|
79 |
pkg_postinst() { |
80 |
elog "Sreadahead requires a kernel built with the superreadahead patch," |
81 |
elog "which can be found in /usr/share/doc/${PF}" |
82 |
elog "If you don't know how to do this, it may be best to stay away from it" |
83 |
elog |
84 |
elog "Note that only ext3 partitions are currently supported." |
85 |
elog |
86 |
elog "To add sreadahead to your runlevels:" |
87 |
elog " # rc-update add sreadahead boot" |
88 |
elog " # rc-update add sreadahead-pack default" |
89 |
} |