27 lines
952 B
Bash
27 lines
952 B
Bash
# Template file for 'igraph'
|
|
pkgname=igraph
|
|
version=0.9.8
|
|
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/"
|
|
changelog="https://raw.githubusercontent.com/igraph/igraph/master/CHANGELOG.md"
|
|
distfiles="https://github.com/igraph/igraph/releases/download/${version}/igraph-${version}.tar.gz"
|
|
checksum=f9a83473cea3e037b605b79b336be656b00dcf3037b233b4b250bd9270f36397
|
|
|
|
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"
|
|
}
|
|
}
|