talimat 813 B

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
  2. # URL: http://lpsolve.sourceforge.net/
  3. # Paketçi: Cihan Alkan
  4. # Gerekler:
  5. # Grup: geliştirme
  6. isim=lpsolve
  7. surum=5.5.2.5
  8. devir=1
  9. kaynak=(https://downloads.sourceforge.net/project/lpsolve/lpsolve/5.5.2.5/lp_solve_5.5.2.5_source.tar.gz
  10. cflags.patch
  11. lpsolve-5.5.2.0.defines.patch)
  12. derle() {
  13. cd lp_solve_5.5
  14. patch -Np1 -i $SRC/cflags.patch
  15. patch -Np1 -i $SRC/lpsolve-5.5.2.0.defines.patch
  16. cd lpsolve55
  17. sh -x ccc
  18. # rm bin/ux*/liblpsolve55.a
  19. cd ../lp_solve
  20. sh -x ccc
  21. cd $SRC/lp_solve_5.5
  22. install -dm755 $PKG/usr/{bin,lib,include/lpsolve}
  23. install -m755 lp_solve/bin/ux*/lp_solve $PKG/usr/bin/
  24. install -m755 lpsolve55/bin/ux*/liblpsolve55.so $PKG/usr/lib/
  25. install -m644 lp*.h $PKG/usr/include/lpsolve/
  26. }