talimat 647 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Luajit tabanlı bilimsel hesaplama çatı yapısı
  2. # Url: http://torch.ch
  3. # Paketçi: milisarge
  4. # Gerekler: cmake lua51 luajit lapack torch7-cwrap torch7-paths torch7-trepl
  5. # Grup: bilimsel
  6. isim=torch7
  7. surum=git
  8. devir=1
  9. kaynak=()
  10. derle() {
  11. git_indir https://github.com/torch/torch7 $isim
  12. cd $SRC/$isim
  13. cmake . \
  14. -DCMAKE_BUILD_TYPE=Release \
  15. -DCMAKE_INSTALL_PREFIX=/usr \
  16. -DLUADIR=/usr/share/lua/5.1 \
  17. -DLIBDIR=/usr/lib/lua/5.1 \
  18. -DLUA_BINDIR=/usr/bin \
  19. -DLUA_INCDIR=/usr/include/luajit-2.0 \
  20. -DLUA_LIBDIR=/usr/lib \
  21. -DLUALIB=/usr/lib/libluajit-5.1.so \
  22. -DLUA=/usr/bin/luajit
  23. make
  24. make DESTDIR=$PKG install
  25. }