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.

31 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../lua-posix/lua-posix.conf
  5. # Copyright (C) 2011 - 2013 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. # we need to include our own snapshot of gnulib because it is not included,
  15. # and if it is not detected, the bootstrap script will try to clone the
  16. # remote git repository of gnulib :/
  17. # see: https://github.com/luaposix/luaposix/issues/106
  18. untar_gnulib_snapshot() {
  19. local gnulib_srctar=$( match_source_file -p gnulib )
  20. tar -xjf $gnulib_srctar
  21. }
  22. hook_add preconf 1 'untar_gnulib_snapshot'
  23. # before being able to run configure we need to run the marvelous gnulib
  24. # bootstrap script
  25. hook_add preconf 9 './bootstrap --gnulib-srcdir=./gnulib'
  26. # make sure modules end up in the right locations
  27. libdir=$lualibdir
  28. datadir=$luadatadir