irixports: Simple ports system for IRIX

LarBob

Administrator
Feb 8, 2019
51
27
18
Hey everybody, for the past couple of days I've been working on a simple ports system for IRIX. It's designed to run on a fresh IRIX install. You should be able to grab a tarball from GitHub, FTP it over, extract it, run the bootstrap script, and then you should be good to go!

I've designed it to be very simple to write port scripts for, but I haven't written documentation on writing scripts yet as things are still changing. It should be pretty easy to figure out how to write a port script by looking at the scripts that I have created already though.

Features:
  • Runs on fresh IRIX install (after running bootstrap.sh)
  • Simple to write port scripts for
  • Supports packages that use configure scripts and packages that don't
  • Automatically downloads and checks SHA-1 sum of defined files to fetch ($files)
  • Automatically installs patches found in patches/ folder of port
  • Simple dependency management (definitely needs some improvement)
  • Database of installed packages and their versions ($prefix/packages.db)
  • Can run steps independently of each other by passing the step as an argument (doesn't check if you have run the previous steps first though as of now, but no harm will be done if they haven't)
  • Clean up with clean, clean_dist, clean_all arguments
  • The default fetch, configure, build, clean, clean_dist, and clean_all functions can be overruled by port scripts simply by creating function(s) of the same name
And more! :)

Here's a link: https://github.com/larb0b/irixports

It could definitely use a lot of improvements. Here are some things I'd like to implement:
  • Keep track of what is installed by each port
  • Have ability to uninstall a port
  • Have ability to set minimum required version of dependencies
I'd appreciate PRs for more ports and features!
 
Last edited:

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu