Build 3rd Party lib with Autobuild

From Second Life Wiki
Jump to navigation Jump to search

Building a 3rd Party Library Package from LL Repository

# Install the autobuild scripts
# For more complete details on this : https://wiki.secondlife.com/wiki/Autobuild
hg clone ssh://hg@bitbucket.org/lindenlab/autobuild autobuild
export PATH="$PATH:$(pwd)/autobuild/bin"
# Clone the 3rd party repo you need to repackage
hg clone ssh://hg@bitbucket.org/lindenlab/3p-xxx 3p-xxx
cd 3p-xxx
# download any dependencies for the package
autobuild configure 
# build the library locally
autobuild build
# package the library locally
autobuild package