32 lines
1003 B
Bash
32 lines
1003 B
Bash
# Template file for 'rankwidth'
|
|
pkgname=rankwidth
|
|
version=0.9
|
|
revision=3
|
|
build_style=gnu-configure
|
|
# don't depend on igraph, we don't ship the binary anyway
|
|
configure_args="--disable-executable"
|
|
short_desc="Calculates rank-width and rank-decompositions"
|
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://sourceforge.net/projects/rankwidth/"
|
|
distfiles="${SOURCEFORGE_SITE}/rankwidth/rw-$version.tar.gz"
|
|
checksum=c1e03506fe25cdfcb428c051fc56b2d2affb5b06fba3f2ce756631466befb441
|
|
|
|
post_install() {
|
|
# the binary conflicts with rw package, and it's not needed for
|
|
# sagemath; if ever someone needs it we can decide whether to
|
|
# rename it or install in a separate package with conflicts=rw
|
|
rm -rf ${DESTDIR}/usr/bin/rw
|
|
rm -rf ${DESTDIR}/usr/share/doc/rw
|
|
}
|
|
|
|
rankwidth-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|