mini_portile 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +5 -0
- data/README.rdoc +6 -0
- data/Rakefile +1 -1
- data/examples/Rakefile +7 -0
- data/lib/mini_portile.rb +4 -0
- metadata +4 -4
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -95,6 +95,12 @@ bandwidth, save the world).
|
|
95
95
|
|
96
96
|
The <tt>tmp</tt> is where compilation is performed and can be safely discarded.
|
97
97
|
|
98
|
+
Don't worry, you don't need to know the path structure by memory, just use recipe's
|
99
|
+
<tt>path</tt> to obtain the full path to the installation directory:
|
100
|
+
|
101
|
+
recipe.cook
|
102
|
+
recipe.path # => /home/luis/projects/myapp/ports/i686-linux/libiconv/1.13.1
|
103
|
+
|
98
104
|
=== How can I combine this with my compilation task?
|
99
105
|
|
100
106
|
In the simplified proposal, the idea is that using Rake, your <tt>compile</tt>
|
data/Rakefile
CHANGED
data/examples/Rakefile
CHANGED
@@ -37,6 +37,13 @@ namespace :ports do
|
|
37
37
|
|
38
38
|
recipe.activate
|
39
39
|
end
|
40
|
+
|
41
|
+
desc "Install all ports and display installation location"
|
42
|
+
task :all => [:libiconv, :sqlite3] do
|
43
|
+
$recipes.each do |_, recipe|
|
44
|
+
puts "Artifacts of '#{recipe.name}' in '#{recipe.path}'"
|
45
|
+
end
|
46
|
+
end
|
40
47
|
end
|
41
48
|
|
42
49
|
desc "Adjust all recipes host for cross-compilation"
|
data/lib/mini_portile.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_portile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luis Lavena
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-04-
|
18
|
+
date: 2011-04-06 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|