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.

36 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../tar/tar.conf
  5. # Copyright (C) 2007 - 2011 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2003 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. # tar people do not like running configure as root now so they implemented
  17. # a check that can be bypassed by setting FORCE_UNSAFE_CONFIGURE=1 in the
  18. # environment
  19. var_insert configscript ' ' "FORCE_UNSAFE_CONFIGURE=1"
  20. var_append confopt ' ' '-C'
  21. atstage cross && var_append configcache ' ' "ac_cv_c_restrict=__restrict"
  22. if ! atstage toolchain; then
  23. hook_add postmake 5 "mv -v $root/usr/bin/tar $root/bin/tar ; \
  24. install -m 0644 -o root -g root ${builddir}/$pkg-$ver/tar.1 $root/usr/man/man1/"
  25. # put 'rmt' into sbin directory
  26. var_append extraconfopt ' ' '--libexecdir=$sbindir'
  27. fi
  28. # we never want this file
  29. var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,.*/lib/charset.alias,/tmp/x,'"