milis/talimatname/genel/a/aspcud/talimat

26 lines
542 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.

# Tanım: Paket bağımlılık çözücü
# URL: http://potassco.sourceforge.net/
# Paketçi: milisarge
# Gerekler: boost cmake re2c clingo
isim=aspcud
surum=1.9.1
devir=1
kaynak=(
http://downloads.sourceforge.net/project/potassco/aspcud/1.9.1/$isim-$surum-source.tar.gz)
derle() {
mkdir -p build
cd build
cmake "../$isim-$surum-source" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCUDF2LP_LOC=cudf2lp \
-DGRINGO_LOC=gringo \
-DCLASP_LOC=clasp \
-DCMAKE_BUILD_TYPE=Release \
-GNinja
ninja
DESTDIR="$PKG" ninja -C $SRC/build install
}