diff options
author | Hazem <hazem-alpine@riseup.net> | 2022-04-17 12:26:51 +0200 |
---|---|---|
committer | dispatch <dispatch@listserv.local> | 2022-04-17 10:33:40 +0000 |
commit | c433459442f5bc1421a2ccd32ed4fad841659962 (patch) | |
tree | 8a760473ef9d7554e14000558e6cba4352c08663 | |
parent | 6cea0eb86ccc69b47a24933084ed1ed4c73d943d (diff) | |
download | aports-patches/4029.tar.gz aports-patches/4029.tar.bz2 aports-patches/4029.tar.xz |
community/smlsharp: new aportpatches/4029
https://smlsharp.github.io
An SML implementation with Row Polymorphism and DB extensions
-rw-r--r-- | community/smlsharp/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/smlsharp/APKBUILD b/community/smlsharp/APKBUILD new file mode 100644 index 0000000000..31aa9a0e7e --- /dev/null +++ b/community/smlsharp/APKBUILD @@ -0,0 +1,39 @@ +# 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="all" +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 +" |