2021-08-31 01:35:49 +00:00
|
|
|
# Template file for 'igraph'
|
|
|
|
pkgname=igraph
|
2022-01-18 20:06:51 +00:00
|
|
|
version=0.9.6
|
2021-08-31 01:35:49 +00:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DIGRAPH_ENABLE_TLS=on -DIGRAPH_ENABLE_LTO=on -DBUILD_SHARED_LIBS=ON"
|
|
|
|
hostmakedepends="flex bison python3"
|
|
|
|
makedepends="arpack-ng-devel glpk-devel gmp-devel lapack-devel libgomp-devel libxml2-devel SuiteSparse-devel"
|
|
|
|
short_desc="Graph library"
|
|
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://igraph.org/c/"
|
2021-11-15 01:04:55 +00:00
|
|
|
changelog="https://raw.githubusercontent.com/igraph/igraph/master/CHANGELOG.md"
|
2021-08-31 01:35:49 +00:00
|
|
|
distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
|
2022-01-18 20:06:51 +00:00
|
|
|
checksum=7c299ec54eecfe413758c332a42c4cb71d02d2951b2ac232584d317c5792f387
|
2021-08-31 01:35:49 +00:00
|
|
|
|
|
|
|
igraph-devel_package() {
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|