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.

42 lines
1.3 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 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. prefix="${SDECFG_PKG_E17_CORE_PREFIX:-opt/e17}"
  20. set_confopt
  21. elif pkginstalled eina ; then
  22. pkgprefix -t eina
  23. prefix=`pkgprefix eina`
  24. set_confopt
  25. fi
  26. fi
  27. # e17 is CVS only so we have to run the included autogen.sh
  28. e17_autogen() {
  29. # required automake file sometimes missing
  30. [ ! -e Changelog ] || touch ChangeLog
  31. # exporting NOCONFIGURE=yes to not run ./configure automatically
  32. # if the included autogen fails set autogen=1 to use our own ones
  33. if ! env NOCONFIGURE=yes sh autogen.sh; then
  34. autogen=1
  35. fi
  36. }
  37. #hook_add preconf 5 "[ ! -e autogen.sh ] || e17_autogen"
  38. fi