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.

35 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../dangerdeep/dangerdeep.conf
  5. # Copyright (C) 2007 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. dftd_custmain() {
  15. # Replace hardcoded paths with configured ones.
  16. sed -i -e 's,/usr/X11R6/lib,'$(pkgprefix libdir xorg-server)',g' \
  17. -e 's,/usr/include/GL,'$(pkgprefix includedir xorg-server)'/GL,g' \
  18. -e 's,/usr/lib,'$(pkgprefix libdir fftw3)',g' SConstruct
  19. # Start building and tell the builder where the app should
  20. # be installed.
  21. var_append sconsopt ' ' "installbindir=$root/$prefix/games \
  22. datadir=$root/$datadir/games/$pkg version=$ver"
  23. scons devel=1 $sconsopt
  24. # Make sure to install datafiles as well.
  25. cp build/linux/dangerdeep $root/$prefix/games/ -fr --reply=yes
  26. unzip `match_source_file -p *.zip` && cp data \
  27. $root/$datadir/games/$pkg -fr --reply=yes
  28. }
  29. # Scons builds are not yet properly supported so we have to do it
  30. # all ourselves.
  31. custmain="dftd_custmain"