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.

41 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../isdn4k-utils/isdn4k-utils.conf
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. i4l_premake () {
  16. # Make sure libtool gets recreated to avoid version conflicts
  17. cd capi20 ; libtoolize -f -c ; cd ..
  18. export ACLOCAL=aclocal
  19. export AUTOMAKE=automake
  20. export AUTOCONF=autoconf
  21. if [ -z "`type -p xmkmf`" ] ; then
  22. MAKE="$MAKE DESTDIR=$root CONFIG_XISDNLOAD=n CONFIG_XMONISDN=n"
  23. fi
  24. # sed -i 's/\(.*CAPICTRL=y.*)/#\1/g' .config.rpm
  25. cp .config.rpm .config
  26. touch rcapid/acinclude.m4
  27. eval $MAKE subconfig
  28. }
  29. i4l_fix_xorg () {
  30. for subp in xmonisdn xisdnload ; do
  31. sed -i 's,X11R6,X11R7,g' -i $subp/Makefile
  32. done
  33. }
  34. runconf=0
  35. hook_add premake 5 "i4l_premake"
  36. hook_add premake 6 "i4l_fix_xorg"