1 |
flameeyes 10/01/28 13:42:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ec2-ami-tools-1.3.45758.ebuild |
5 |
Log: |
6 |
Version bump, also don't use version for the install path and don't use symlinks to /usr/bin. This means that you won't need to re-source the profile at each upgrade, but just after the first install. And it won't pollute your inode space. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 app-admin/ec2-ami-tools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- ChangeLog 27 Sep 2009 12:37:22 -0000 1.2 |
23 |
+++ ChangeLog 28 Jan 2010 13:41:59 -0000 1.3 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for app-admin/ec2-ami-tools |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.2 2009/09/27 12:37:22 maekke Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ChangeLog,v 1.3 2010/01/28 13:41:59 flameeyes Exp $ |
30 |
+ |
31 |
+*ec2-ami-tools-1.3.45758 (28 Jan 2010) |
32 |
+ |
33 |
+ 28 Jan 2010; Diego E. Pettenò <flameeyes@g.o> |
34 |
+ +ec2-ami-tools-1.3.45758.ebuild: |
35 |
+ Version bump, also don't use version for the install path and don't use |
36 |
+ symlinks to /usr/bin. This means that you won't need to re-source the |
37 |
+ profile at each upgrade, but just after the first install. And it won't |
38 |
+ pollute your inode space. |
39 |
|
40 |
27 Sep 2009; Markus Meier <maekke@g.o> |
41 |
ec2-ami-tools-1.3.34544.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: ec2-ami-tools-1.3.45758.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-ami-tools/ec2-ami-tools-1.3.45758.ebuild,v 1.1 2010/01/28 13:41:59 flameeyes Exp $ |
55 |
|
56 |
inherit versionator |
57 |
|
58 |
EC2_VERSION=$(get_version_component_range 1-2) |
59 |
EC2_PATCHLEVEL=$(get_version_component_range 3) |
60 |
|
61 |
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service." |
62 |
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88" |
63 |
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL}.zip" |
64 |
|
65 |
S=${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL} |
66 |
|
67 |
LICENSE="Amazon" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="" |
71 |
DEPEND="app-arch/unzip" |
72 |
RDEPEND="dev-lang/ruby |
73 |
net-misc/rsync |
74 |
net-misc/curl" |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
cd "${WORKDIR}/${PN}-${EC2_VERSION}-${EC2_PATCHLEVEL}" |
79 |
find . -name *.cmd -exec rm {} \; |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
dodir /opt/${PN} |
84 |
insinto /opt/${PN}/lib |
85 |
doins -r "${S}"/lib/* |
86 |
exeinto /opt/${PN}/bin |
87 |
doexe "${S}"/bin/* |
88 |
|
89 |
insinto /opt/${PN}/etc |
90 |
doins -r "${S}"/etc/* |
91 |
|
92 |
dodir /etc/env.d |
93 |
cat - > "${T}"/99${PN} <<EOF |
94 |
EC2_AMITOOL_HOME=/opt/${PN} |
95 |
PATH=/opt/${PN}/bin |
96 |
EOF |
97 |
doenvd "${T}"/99${PN} |
98 |
} |
99 |
|
100 |
pkg_postinst() { |
101 |
ewarn "Remember to run: env-update && source /etc/profile if you plan" |
102 |
ewarn "to use these tools in a shell before logging out (or restarting" |
103 |
ewarn "your login manager)" |
104 |
} |