talimat 756 B

1234567891011121314151617181920212223242526
  1. # Description: JavaScript yorumlayıcı ve kitaplıkları
  2. # URL: https://developer.mozilla.org/En/SpiderMonkey/1.8.5
  3. # Packager: milisarge
  4. # Depends on: libffi nspr zip python
  5. name=js1
  6. version=17.0.0
  7. release=1
  8. source=( http://ftp.mozilla.org/pub/mozilla.org/js/mozjs$version.tar.gz )
  9. build () {
  10. cd mozjs$version/js/src
  11. sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl
  12. ./configure --prefix=/usr \
  13. --enable-readline \
  14. --enable-threadsafe \
  15. --with-system-ffi \
  16. --with-system-nspr
  17. make
  18. make DESTDIR=$PKG install
  19. find $PKG/usr/include/js-17.0/ \
  20. $PKG/usr/lib/libmozjs-17.0.a \
  21. $PKG/usr/lib/pkgconfig/mozjs-17.0.pc \
  22. -type f -exec chmod -v 644 {} \;
  23. }