milis/talimatname/genel/l/lpsolve/talimat

32 lines
793 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
2017-09-21 10:05:32 +02:00
# URL: http://lpsolve.sourceforge.net/
2017-10-27 20:46:27 +02:00
# Paketçi: Cihan Alkan
# Gerekler:
2017-09-21 10:05:32 +02:00
2017-10-28 14:10:23 +02:00
isim=lpsolve
surum=5.5.2.5
devir=1
2017-09-21 10:05:32 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz
2017-09-21 10:05:32 +02:00
cflags.patch
lpsolve-5.5.2.0.defines.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-09-21 10:05:32 +02:00
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/
}