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.

56 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../elfkickers/elfkickers.conf
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  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. custmain=pkg_elfkickers_main
  16. autodoc=0
  17. pkg_elfkickers_main() {
  18. local x= y=
  19. # tiny cames with /free/ prebuilts
  20. eval $MAKE -C tiny clean
  21. # make all
  22. for x in *; do
  23. if [ -d $x ]; then
  24. eval $MAKE -C $x $makeopt
  25. fi
  26. done
  27. # make install
  28. echo "Installing..."
  29. for x in *; do
  30. if [ -d $x -a $x != 'tiny' ]; then
  31. cp -v $x/$x $bindir/$x
  32. fi
  33. done
  34. # install doc
  35. echo "Copying documentation..."
  36. for x in *; do
  37. if [ -d $x ]; then
  38. mkdir -vp $docdir/$x
  39. if [ $x == 'tiny' ]; then
  40. for y in $x/*; do
  41. [ ! -x $y ] && cp -v $y $docdir/$x
  42. done
  43. else
  44. cp -v $x/README $docdir/$x/README
  45. fi
  46. else
  47. cp $x $docdir
  48. fi
  49. done
  50. }