milis/talimatname/genel/l/lpsolve/talimat

33 lines
813 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
# URL: http://lpsolve.sourceforge.net/
# Paketçi: Cihan Alkan
# Gerekler:
2018-08-08 14:18:27 +02:00
# Grup: geliştirme
2018-06-09 00:06:58 +02:00
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/
}