README_SBo.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. cc65 releases are few and far between, so unlike most SlackBuilds, this
  2. one packages a git snapshot. The build is only updated once or twice a
  3. year, but you might find you need a later snapshot that fixes a bug or
  4. adds a feature that you need.
  5. To build a specific tag or commit of the cc65 source, use the git2tarxz.sh
  6. script included in the SlackBuild directory. For instance, to build a
  7. package of the 2.17 release:
  8. # sh git2tarxz.sh V2.17
  9. You could use a commit hash instead:
  10. # sh git2tarxz.sh 8e75906
  11. The last lines of output from git2tarxz.sh show the filename of
  12. the created tarball and the VERSION you should set in the script's
  13. environment. For the above example:
  14. Created tarball: cc65-2.17_20180307.tar.xz
  15. VERSION=2.17_20180307
  16. So you'd this this command to build the package:
  17. # VERSION=2.17_20180307 sh ./cc65.SlackBuild
  18. Notes:
  19. - Obviously I haven't tested every single commit. There are thousands
  20. of them. If the SlackBuild fails, either use a different commit,
  21. or contact me on IRC (user Urchlay on FreeNode ##slackbuilds or the
  22. email address in the .info file) and I'll try to help.
  23. - git2tarxz.sh will probably fail on Slackware-current. Use 14.2 to
  24. prepare the source, even if you're going to build on -current. See
  25. the comments in the script about linuxdoc-tools for details.
  26. - The output of "cc65 --version" will always include the git commit that
  27. was used to build it. This might be useful to know, if you're messing
  28. around with different revisions.