milis/talimatname/genel/aspcud/talimat

26 lines
557 B
Plaintext
Raw Normal View History

2017-09-12 09:57:28 +02:00
# 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
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
}