AbiMacSDK
From AbiWiki
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
AbiMacSDK is a set of tools to build all at once the dependencies needed by AbiWord to build. If you use that, you likely don't need MacPort. | AbiMacSDK is a set of tools to build all at once the dependencies needed by AbiWord to build. If you use that, you likely don't need MacPort. | ||
Line 17: | Line 9: | ||
= Rationale = | = Rationale = | ||
- | It is important to limit the number of runtime dependencies. It is also important to build them within a controlled environment. For this reason, Apple already provide something called | + | It is important to limit the number of runtime dependencies. It is also important to build them within a controlled environment. For this reason, Apple already provide something called "SDK" which is designed to provide a chroot for all the system libraries and includes. The AbiMacSDK will use that to build the ports. |
= Building = | = Building = | ||
Line 31: | Line 23: | ||
= How does it work = | = How does it work = | ||
- | First it will copy the | + | First it will copy the "SDK" from the Apple developer tools to use it as a base. |
Second, it will download and build the dependencies, ready to use, and install them in both /opt/abi and into the SDK. | Second, it will download and build the dependencies, ready to use, and install them in both /opt/abi and into the SDK. |
Current revision as of 13:14, 27 November 2010
AbiMacSDK is a set of tools to build all at once the dependencies needed by AbiWord to build. If you use that, you likely don't need MacPort.
Contents |
SVN Checkout
You need to checkout the portsdk:
http://svn.abisource.com/abimacsdk/trunk/portssdk/
Rationale
It is important to limit the number of runtime dependencies. It is also important to build them within a controlled environment. For this reason, Apple already provide something called "SDK" which is designed to provide a chroot for all the system libraries and includes. The AbiMacSDK will use that to build the ports.
Building
mkdir /opt/abi
(you might need to do that as root. Make sure /opt/abi is writable by your user)
make
Now you can wait a while
How does it work
First it will copy the "SDK" from the Apple developer tools to use it as a base.
Second, it will download and build the dependencies, ready to use, and install them in both /opt/abi and into the SDK.
Adding new ports
TBD.