From 69e7d31a8650053e761bc3465f40b25adb76bb9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 26 Aug 2021 20:02:30 -0300 Subject: [PATCH] New package: iml-1.0.5 --- common/shlibs | 1 + srcpkgs/iml-devel | 1 + srcpkgs/iml/template | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/iml-devel create mode 100644 srcpkgs/iml/template diff --git a/common/shlibs b/common/shlibs index 9d2575e83a70..489c76ebc1e8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1046,6 +1046,7 @@ libfltk_images.so.1.3 fltk-1.3.0_1 libspectre.so.1 libspectre-0.2.6_1 libsratom-0.so.0 sratom-0.4.0_1 libpwquality.so.1 libpwquality-1.1.1_1 +libiml.so.0 iml-1.0.5_1 libisl.so.23 isl-0.23_1 libisl.so.19 isl15-0.19_1 libcloog-isl.so.4 cloog-0.18.1_1 diff --git a/srcpkgs/iml-devel b/srcpkgs/iml-devel new file mode 120000 index 000000000000..dd95935ba7da --- /dev/null +++ b/srcpkgs/iml-devel @@ -0,0 +1 @@ +iml \ No newline at end of file diff --git a/srcpkgs/iml/template b/srcpkgs/iml/template new file mode 100644 index 000000000000..03cb5dd6028b --- /dev/null +++ b/srcpkgs/iml/template @@ -0,0 +1,33 @@ +# Template file for 'iml' +pkgname=iml +version=1.0.5 +revision=1 +build_style=gnu-configure +configure_args="--enable-shared --with-cblas=-lopenblas" +makedepends="gmp-devel openblas-devel" +short_desc="Integer Matrix Library" +maintainer="Gonzalo TornarĂ­a " +license="custom:IML" +homepage="https://cs.uwaterloo.ca/~astorjoh/iml.html" +distfiles="https://cs.uwaterloo.ca/~astorjoh/iml-${version}.tar.bz2" +checksum=1dad666850895a5709b00b97422e2273f293cfadea7697a9f90b90953e847c2a + +if [ -n "$CROSS_BUILD" ]; then + configure_args+=" --with-default=$XBPS_CROSS_BASE/usr" +fi + +post_install() { + sed '/^$/q' < src/iml.h > LICENSE + vlicense LICENSE +} + +iml-devel_package() { + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/share/iml + } +}