milis/talimatname/genel/aspcud/talimat

26 lines
557 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: Paket bağımlılık çözücü
# URL: http://potassco.sourceforge.net/
# Packager: milisarge
# Depends on: boost cmake re2c clingo
name=aspcud
version=1.9.1
release=1
source=(
http://downloads.sourceforge.net/project/potassco/aspcud/1.9.1/$name-$version-source.tar.gz)
build() {
mkdir -p build
cd build
cmake "../$name-$version-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
}