milis/talimatname/genel/a/aspcud/talimat

26 lines
550 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Paket bağımlılık çözücü
2017-09-12 09:57:28 +02:00
# URL: http://potassco.sourceforge.net/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: boost cmake re2c clingo
2017-09-12 09:57:28 +02:00
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
2017-09-12 09:59:32 +02:00
cmake "../$name-$version-source" \
2017-09-12 09:57:28 +02:00
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCUDF2LP_LOC=cudf2lp \
-DGRINGO_LOC=gringo \
-DCLASP_LOC=clasp \
-DCMAKE_BUILD_TYPE=Release \
-GNinja
ninja
2017-09-12 09:59:32 +02:00
DESTDIR="$PKG" ninja -C $SRC/build install
2017-09-12 09:57:28 +02:00
}