aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorb17wise <52618169+b17wise@users.noreply.github.com>2019-07-07 11:42:43 +0530
committerLeo <thinkabit.ukim@gmail.com>2019-07-07 16:51:48 -0300
commit4a0700ff403b63d8eb3257ebdf33ca51eed294de (patch)
tree3f1272ed78e1e6d6ee0e8b511ce822802c1924df
parent1c2766db4610c4125c258f342b9cd88246227af7 (diff)
downloadaports-4a0700ff403b63d8eb3257ebdf33ca51eed294de.tar.bz2
aports-4a0700ff403b63d8eb3257ebdf33ca51eed294de.tar.xz
testing/solidity: new aport
https://github.com/ethereum/solidity The Solidity Contract-Oriented Programming Language fixes #10660
-rw-r--r--testing/solidity/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/solidity/APKBUILD b/testing/solidity/APKBUILD
new file mode 100644
index 0000000000..df02c36bb7
--- /dev/null
+++ b/testing/solidity/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Trevis Schiffer <nikolaibitinit@gmail.com>
+# Maintainer: Trevis Schiffer <nikolaibitinit@gmail.com>
+pkgname=solidity
+pkgver=0.5.10
+pkgrel=0
+pkgdesc="The Solidity Contract-Oriented Programming Language"
+url="https://github.com/ethereum/solidity"
+arch="all"
+license="GPL-3.0-or-later"
+depends="libgcc"
+makedepends="boost-dev boost cmake git"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ethereum/$pkgname/archive/v$pkgver.tar.gz"
+# options="!check" # package does not have tests
+
+prepare() {
+ default_prepare
+ mkdir -p build
+ echo -n "5a6ea5b19793f61c7703d4abe587b2bf40decc31" > commit_hash.txt
+}
+
+build() {
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBoost_USE_STATIC_LIBS=OFF \
+ -DTESTS=ON \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install -C build
+}
+
+check() {
+
+ ctest -V
+}
+
+sha512sums="24d23d5bf74b992a035a2dafd09e3150ebe1522624fd2feecca4f128897d57313546aa17cb5ecabea655ebe4fa9a3bee279bb1697191b4c93f2835850e10a9d0 solidity-0.5.10.tar.gz"