Last active
August 29, 2015 14:18
-
-
Save sjorge/5e96011c67dc53feb908 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgin -y install gcc47 git-base | |
PKG_VER=$(cat /opt/local/etc/pkgin/repositories.conf | grep 'SmartOS' | cut -d"/" -f 6) | |
mkdir -p /content/{distfiles,packages} | |
cd /content | |
git clone git://github.com/joyent/pkgsrc.git | |
cd /content/pkgsrc | |
git checkout joyent/release/${PKG_VER} | |
git submodule init | |
git submodule update | |
## PKG_VAR = 2014Q4 in my case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment