Mon, 10 Aug 2009 16:10:14 +0200
Correct typo and rewrite 'installing' clause in a generic fashion.
michael@5 | 1 | ## |
michael@5 | 2 | ## Pkgconfig.txt -- Addendum to OS X Package Specification Document |
michael@5 | 3 | ## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> |
michael@5 | 4 | ## |
michael@5 | 5 | ## Permission to use, copy, modify, and distribute this software for |
michael@5 | 6 | ## any purpose with or without fee is hereby granted, provided that |
michael@5 | 7 | ## the above copyright notice and this permission notice appear in all |
michael@5 | 8 | ## copies. |
michael@5 | 9 | ## |
michael@5 | 10 | ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
michael@5 | 11 | ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
michael@5 | 12 | ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
michael@5 | 13 | ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR |
michael@5 | 14 | ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
michael@5 | 15 | ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
michael@5 | 16 | ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
michael@5 | 17 | ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
michael@5 | 18 | ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
michael@5 | 19 | ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
michael@5 | 20 | ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@5 | 21 | ## SUCH DAMAGE. |
michael@5 | 22 | ## |
michael@5 | 23 | |
michael@5 | 24 | |
michael@5 | 25 | Pkgconfig Compiler Helper Tool |
michael@5 | 26 | ------------------------------ |
michael@5 | 27 | Name: Pkgconfig |
michael@5 | 28 | Summary: Helper tool to determine the correct compiler options |
michael@5 | 29 | URL: http://pkg-config.freedesktop.org/ |
michael@5 | 30 | Packager: Michael Schloh von Bennewitz |
michael@5 | 31 | Vendor: Tollef Fog Heen |
michael@5 | 32 | |
michael@5 | 33 | Package source: Pkgconfig.pmdoc |
michael@6 | 34 | Package output: Pkgconfig-<dist.version>.pkg |
michael@5 | 35 | |
michael@5 | 36 | Executing Pkgconfig.pkg installs autoconf script and universal |
michael@7 | 37 | binary (IA-32/X86-64/PPC7400/PPC64) archives to the OS X operating |
michael@5 | 38 | system required for developing applications using Pkgconfig logic. |
michael@5 | 39 | |
michael@5 | 40 | To create the installation package, use the OS X PackageMaker |
michael@5 | 41 | application or equivalent command line utility. Required sources |
michael@5 | 42 | include the package specification (<file>.pmdoc) and the archives |
michael@5 | 43 | specified within the package specification. These references are |
michael@5 | 44 | listed in the following manifest, and must be manually placed. |
michael@5 | 45 | |
michael@7 | 46 | Compiling to a universal binary can be configured as: |
michael@5 | 47 | LDFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch ppc64 -arch i386 -arch x86_64' CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -Os -mmacosx-version-min=10.5 -arch ppc -arch ppc64 -arch i386 -arch x86_64' ./configure --disable-dependency-tracking |
michael@5 | 48 | |
michael@5 | 49 | Filesystem Root (fsrt) Manifest |
michael@5 | 50 | ------------------------------- |
michael@5 | 51 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt |
michael@5 | 52 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt/usr |
michael@5 | 53 | drwxr-xr-x 4 root wheel 136 Aug 5 19:38 fsrt/usr/local |
michael@5 | 54 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt/usr/local/bin |
michael@5 | 55 | -rwxr-xr-x 1 root wheel 473424 Aug 5 19:38 fsrt/usr/local/bin/pkg-config |
michael@5 | 56 | drwxr-xr-x 4 root wheel 136 Aug 5 19:38 fsrt/usr/local/share |
michael@5 | 57 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt/usr/local/share/aclocal |
michael@5 | 58 | -rw-r--r--@ 1 root wheel 5171 Aug 5 19:38 fsrt/usr/local/share/aclocal/pkg.m4 |
michael@5 | 59 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt/usr/local/share/man |
michael@5 | 60 | drwxr-xr-x 3 root wheel 102 Aug 5 19:38 fsrt/usr/local/share/man/man1 |
michael@5 | 61 | -rw-r--r--@ 1 root wheel 15819 Aug 5 19:38 fsrt/usr/local/share/man/man1/pkg-config.1 |