Added PPA repository for igraph
This commit is contained in:
parent
ad41895078
commit
06372388d6
1 changed files with 9 additions and 26 deletions
|
@ -3,24 +3,11 @@
|
|||
class igraph {
|
||||
|
||||
case $operatingsystem {
|
||||
debian,ubuntu: {
|
||||
apt::package { "libigraph":
|
||||
ensure => installed,
|
||||
source => $architecture ? {
|
||||
i386 => "http://cneurocvs.rmki.kfki.hu/packages/binary/libigraph_0.5.2_i386.deb",
|
||||
default => undef,
|
||||
},
|
||||
}
|
||||
package { "libxml2-dev":
|
||||
ensure => installed,
|
||||
}
|
||||
apt::package { "libigraph-dev":
|
||||
ensure => installed,
|
||||
source => $architecture ? {
|
||||
i386 => "http://cneurocvs.rmki.kfki.hu/packages/binary/libigraph-dev_0.5.2_i386.deb",
|
||||
default => undef,
|
||||
},
|
||||
require => [ Package["libxml2-dev"], Apt::Package["libigraph"], ],
|
||||
ubuntu: {
|
||||
apt::repo { "igraph.ppa.launchpad.net":
|
||||
source => "http://ppa.launchpad.net/igraph/ppa/ubuntu",
|
||||
key => "80C21FC1",
|
||||
keyserver => "hkp://keyserver.ubuntu.com",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,14 +20,10 @@ class igraph {
|
|||
class igraph::python inherits igraph {
|
||||
|
||||
case $operatingsystem {
|
||||
debian,ubuntu: {
|
||||
apt::package { "python-igraph":
|
||||
ubuntu: {
|
||||
package { "python-igraph":
|
||||
ensure => installed,
|
||||
source => $architecture ? {
|
||||
i386 => "http://cneurocvs.rmki.kfki.hu/packages/binary/python-igraph_0.5.2_i386.deb",
|
||||
default => undef,
|
||||
},
|
||||
require => Apt::Package["libigraph"],
|
||||
require => Apt::Repo["igraph.ppa.launchpad.net"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue