Commit 4a0700ff authored by b17wise's avatar b17wise Committed by Leo

testing/solidity: new aport

https://github.com/ethereum/solidity
The Solidity Contract-Oriented Programming Language

fixes #10660
parent 1c2766db
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment