mirror of the now-defunct rocklinux.org
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.

28 lines
788 B

  1. nxothersources="nxagent-1.3.1-32.tar.bz2 nxauth-1.3.1-2.tar.bz2 nxcomp-1.3.1-5.tar.bz2 \
  2. nxcompext-1.3.1-2.tar.bz2 nxproxy-1.3.1-2.tar.bz2"
  3. nx-X11_prem() {
  4. cd ..
  5. for nxsource in $nxothersources; do
  6. echo "Extracting $nxsource ($taropt) ..."
  7. tar $taropt $archdir/$nxsource
  8. done
  9. cd $OLDPWD
  10. echo "Configuring XFree ..."
  11. cat >> config/cf/host.def << EOT
  12. /* Disable the internal zlib to use the system installed one */
  13. #define HasZlib YES
  14. /* Disable the internal expat library to use the system installed one */
  15. #define HasExpat YES
  16. /* Less warnings with recent gccs ... */
  17. #define DefaultCCOptions -ansi GccWarningOptions
  18. EOT
  19. }
  20. hook_add premake 3 "nx-X11_prem"
  21. var_append makeopt " " "World"