Skip to content

Commit

Permalink
zlib v1.0, supports scientific etc
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 4, 2011
1 parent cb5bd4c commit 2b849d3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
27 changes: 27 additions & 0 deletions zlib/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Description
====

Installs development package for zlib.

Requirements
====

Debian, Ubuntu, CentOS, Red Hat, Scientific, Fedora, SUSE.

License and Author
====

Author:: Joshua Timberman (<[email protected]>)
Copyright:: 2009-2011, Opscode, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
5 changes: 3 additions & 2 deletions zlib/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs zlib"
version "0.1.1"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"

recipe "zlib", "Installs zlib development package"

%w{ centos redhat suse fedora ubuntu debian }.each do |os|
%w{ centos redhat scientific suse fedora ubuntu debian }.each do |os|
supports os
end
2 changes: 1 addition & 1 deletion zlib/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package "zlib-devel" do
package_name value_for_platform(
[ "centos", "redhat", "suse", "fedora" ] => { "default" => "zlib-devel" },
[ "centos", "redhat", "scientific", "suse", "fedora" ] => { "default" => "zlib-devel" },
"default" => 'zlib1g-dev'
)
end

0 comments on commit 2b849d3

Please sign in to comment.