aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHazem <hazem-alpine@riseup.net>2022-04-17 13:22:31 +0200
committerdispatch <dispatch@listserv.local>2022-04-17 11:22:56 +0000
commit0cca9c77621ec9b119b34d39639db0c3e3187f2c (patch)
treef86a5b364380e52f8b7dbf41556b3a9adf6b8318
parent19bd9a93422ef5a2242cc478d8aa9d203e99ff77 (diff)
downloadaports-patches/4031.tar.gz
aports-patches/4031.tar.bz2
aports-patches/4031.tar.xz
community/smlsharp: new aportpatches/4031
https://smlsharp.github.io An SML implementation with Row Polymorphism and DB extensions
-rw-r--r--community/smlsharp/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/smlsharp/APKBUILD b/community/smlsharp/APKBUILD
new file mode 100644
index 0000000000..8dfbda5784
--- /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="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
+"