123456789101112131415161718192021222324252627282930313233 |
- # Tanım: Karışık Tamsayılı Lineer Programlama (MILP) çözücü
- # URL: http://lpsolve.sourceforge.net/
- # Paketçi: Cihan Alkan
- # Gerekler:
- # Grup: geliştirme
- 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/
- }
|