milis/talimatname/genel/l/lpsolve/talimat

32 lines
793 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: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
# URL: http://lpsolve.sourceforge.net/
# Paketçi: Cihan Alkan
# Gerekler:
isim=lpsolve
surum=5.5.2.5
devir=1
kaynak=(https://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz
cflags.patch
lpsolve-5.5.2.0.defines.patch)
derle() {
cd lp_solve_5.5
patch -Np1 -i $SRC/cflags.patch
patch -Np1 -i $SRC/lpsolve-5.5.2.0.defines.patch
cd lpsolve55
sh -x ccc
# rm bin/ux*/liblpsolve55.a
cd ../lp_solve
sh -x ccc
cd $SRC/lp_solve_5.5
install -dm755 $PKG/usr/{bin,lib,include/lpsolve}
install -m755 lp_solve/bin/ux*/lp_solve $PKG/usr/bin/
install -m755 lpsolve55/bin/ux*/liblpsolve55.so $PKG/usr/lib/
install -m644 lp*.h $PKG/usr/include/lpsolve/
}