Skip to content

Commit

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

Installs development package for libxml.

Requirements
====

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

License and Author
====

Author:: Joshua Timberman (<joshua@opscode.com>)
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 xml/metadata.rb
Expand Up @@ -2,10 +2,11 @@
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs xml"
version "0.1.1"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"

recipe "xml", "Installs libxml development packages"

%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 xml/recipes/default.rb
Expand Up @@ -19,7 +19,7 @@

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

0 comments on commit ff3e326

Please sign in to comment.