milis/talimatname/genel/c/clingo/talimat

28 lines
658 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: mantık programları için temel bilgi veren ayrıştırıcı uygulama
# URL: https://potassco.org
# Packager: milisarge
# Depends on: re2c cmake ninja python lua clang
name=clingo
version=5.2.0
release=1
source=(https://github.com/potassco/clingo/archive/v$version.tar.gz::$name-$ersion.tar.gz)
build() {
mkdir -p build
cd build
cmake "../$name-$version" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCLINGO_REQUIRE_PYTHON=ON \
-DCLINGO_BUILD_PY_SHARED=ON \
-DPYCLINGO_USER_INSTALL=OFF \
-DCLINGO_REQUIRE_LUA=ON \
-DCLINGO_BUILD_LUA_SHARED=ON \
-DCMAKE_CXX_COMPILER=clang++ \
-G Ninja
ninja
DESTDIR="$PKG" ninja -C $SRC/build install
}