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.

39 lines
1.2 KiB

  1. #!/bin/sh
  2. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # Filename: package/.../eina/parse-config
  6. # Copyright (C) 2010 - 2011 The OpenSDE Project
  7. # Copyright (C) 2004 - 2006 The T2 SDE Project
  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. if hasflag E17; then
  17. if [ "$prefix_auto" = 1 ] ; then
  18. if [ "$pkg" != "eina" ]; then
  19. pkgprefix -t eina
  20. prefix=$( pkgprefix eina )
  21. set_confopt
  22. fi
  23. fi
  24. # e17 is CVS only so we have to run the included autogen.sh
  25. e17_autogen() {
  26. # required automake file sometimes missing
  27. [ ! -e Changelog ] || touch ChangeLog
  28. # exporting NOCONFIGURE=yes to not run ./configure automatically
  29. # if the included autogen fails set autogen=1 to use our own ones
  30. if ! env NOCONFIGURE=yes sh autogen.sh; then
  31. autogen=1
  32. fi
  33. }
  34. #hook_add preconf 5 "[ ! -e autogen.sh ] || e17_autogen"
  35. fi