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 {
|
class igraph {
|
||||||
|
|
||||||
case $operatingsystem {
|
case $operatingsystem {
|
||||||
debian,ubuntu: {
|
ubuntu: {
|
||||||
apt::package { "libigraph":
|
apt::repo { "igraph.ppa.launchpad.net":
|
||||||
ensure => installed,
|
source => "http://ppa.launchpad.net/igraph/ppa/ubuntu",
|
||||||
source => $architecture ? {
|
key => "80C21FC1",
|
||||||
i386 => "http://cneurocvs.rmki.kfki.hu/packages/binary/libigraph_0.5.2_i386.deb",
|
keyserver => "hkp://keyserver.ubuntu.com",
|
||||||
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"], ],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,14 +20,10 @@ class igraph {
|
||||||
class igraph::python inherits igraph {
|
class igraph::python inherits igraph {
|
||||||
|
|
||||||
case $operatingsystem {
|
case $operatingsystem {
|
||||||
debian,ubuntu: {
|
ubuntu: {
|
||||||
apt::package { "python-igraph":
|
package { "python-igraph":
|
||||||
ensure => installed,
|
ensure => installed,
|
||||||
source => $architecture ? {
|
require => Apt::Repo["igraph.ppa.launchpad.net"],
|
||||||
i386 => "http://cneurocvs.rmki.kfki.hu/packages/binary/python-igraph_0.5.2_i386.deb",
|
|
||||||
default => undef,
|
|
||||||
},
|
|
||||||
require => Apt::Package["libigraph"],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue