New package: iml-1.0.5

This commit is contained in:
Gonzalo Tornaría 2021-08-26 20:02:30 -03:00 committed by Leah Neukirchen
parent 1b1ae8f3fc
commit d12e9ac936
3 changed files with 35 additions and 0 deletions

View file

@ -1052,6 +1052,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

1
srcpkgs/iml-devel Symbolic link
View file

@ -0,0 +1 @@
iml

33
srcpkgs/iml/template Normal file
View file

@ -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 <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
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
}
}