OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../luajit/luajit.conf
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. # saving our local patches and empty the patchfiles variable
  15. localpatches=$patchfiles
  16. patchfiles=
  17. # append official patches
  18. for x in `match_source_file -p 'patch'` ; do
  19. var_append patchfiles " " "$x"
  20. done
  21. # append our local patches
  22. var_append patchfiles " " "$localpatches"
  23. # for binary distributions it is recommended to use the special target for an
  24. # amalgamated build which compiles the LuaJIT core as one huge C file and
  25. # allows GCC to generate faster and shorter code
  26. var_append makeopt ' ' "amalg"
  27. # By default, modules are only searched under the prefix /usr/local. You can
  28. # add an extra prefix to the search paths by appending the PREFIX option.
  29. var_append makeopt ' ' "PREFIX=/$prefix"
  30. var_append makeinstopt ' ' "PREFIX=/$prefix"
  31. # beta releases only install the LuaJIT executable under the versioned name
  32. hook_add postmake 5 "ln -sf luajit-$ver $root$bindir/luajit"