diff --git a/common/shlibs b/common/shlibs index b41e2516174..d6f6a725304 100644 --- a/common/shlibs +++ b/common/shlibs @@ -440,6 +440,7 @@ libparted.so.2 libparted-3.1_1 libparted-fs-resize.so.0 libparted-3.1_1 libntfs-3g.so.89 ntfs-3g-2021.8.22_1 libruby.so.3.0 ruby-3.0.2_1 +librw.so.0 rankwidth-0.9_1 libprocessui.so.9 libksysguard-5.18.90_1 libksignalplotter.so.9 libksysguard-5.18.90_1 libksgrd.so.9 libksysguard-5.18.90_1 diff --git a/srcpkgs/rankwidth-devel b/srcpkgs/rankwidth-devel new file mode 120000 index 00000000000..ae0ae25eafc --- /dev/null +++ b/srcpkgs/rankwidth-devel @@ -0,0 +1 @@ +rankwidth \ No newline at end of file diff --git a/srcpkgs/rankwidth/template b/srcpkgs/rankwidth/template new file mode 100644 index 00000000000..c322a6e1a12 --- /dev/null +++ b/srcpkgs/rankwidth/template @@ -0,0 +1,32 @@ +# Template file for 'rankwidth' +pkgname=rankwidth +version=0.9 +revision=1 +wrksrc=rw-${version} +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="igraph-devel" +short_desc="Calculates rank-width and rank-decompositions" +maintainer="Gonzalo TornarĂ­a " +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="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/rankwidth/update b/srcpkgs/rankwidth/update new file mode 100644 index 00000000000..226d3b64d1c --- /dev/null +++ b/srcpkgs/rankwidth/update @@ -0,0 +1 @@ +pkgname=rw