Hazem 6a69abbcb7 testing/smlsharp: new aport
https://smlsharp.github.io
An SML implementation with Row Polymorphism and DB extensions
2022-04-17 16:59:02 +00:00

40 lines
948 B
Plaintext

# Contributor: Hazem <hazem-alpine@riseup.net>
# Maintainer: Hazem <hazem-alpine@riseup.net>
pkgname=smlsharp
pkgver=4.0.0
pkgrel=0
pkgdesc="A new programming language in the Standard ML family"
url="https://smlsharp.github.io"
arch="x86_64"
license="MIT"
_llvm="llvm12"
depends="massivethreads-dev $_llvm"
makedepends="gmp-dev xz $_llvm-dev yajl chrpath"
source="https://github.com/smlsharp/smlsharp/releases/download/v$pkgver/smlsharp-$pkgver.tar.gz"
subpackages="$pkgname-doc"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--with-llvm=/usr/lib/$_llvm
make
}
check() {
make test
}
package() {
chrpath -d src/compiler/smlsharp
make DESTDIR="$pkgdir" install
}
sha512sums="
d3c37c2c1ae4cdf75e96f7a50ae37d74b689e66f1c4db2ad9ba11ec9f5d71af37ff91a3d8d93012ba155d8674bb3c62aeec1bb4437ca8b66fbcbd958ecdf9c4d smlsharp-4.0.0.tar.gz
"