A fork/clone of the main debian fakeroot repository at http://git.debian.org/?p=users/clint/fakeroot.git that includes enhanced Mac OS X fakeroot support which has since been merged back into that repository as of release 1.19-2 except for the changes noted below.
This GitHub fork/clone of the debian fakeroot repository is a mirror clone with the addition of a new macosx branch that includes the Mac OS X enhancements described here. The default HEAD branch for this GitHub repository is macosx, not master! However, unless there are new Mac OS X enhancements waiting to be merged, the macosx branch should track master very closely (as in be the same as except for the doc/Makefile.am change below).
|fakeroot-3.3.dmg||macosx-v3.3||2012-05-24||Mac OS X Installer package for 10.4 or later (universal) [hashes]|
|fakeroot-macosx-v3.3.tar.gz||macosx-v3.3||2012-05-24||Pre-bootstrapped source tarball (includes configure script) [hashes]|
Without a change to the doc/Makefile.am file like so:
diff --git a/master:doc/Makefile.am b/macosx:doc/Makefile.am index bf5ce07..5394548 100644 --- a/master:doc/Makefile.am +++ b/macosx:doc/Makefile.am @@ -1,5 +1,5 @@ AUTOMAKE_OPTIONS=foreign -SUBDIRS = de es fr sv nl +##SUBDIRS = de es fr sv nl man_MANS = faked.1 fakeroot.1
the sudo make install command will fail on Mac OS X. The macosx branch (which is also the default HEAD branch) for this GitHub repository maintains the above change so that sudo make install will succeed after building on Mac OS X.
Mac OS X 10.4 and later are supported as are two-level namespace executables.
Suppose you wish to create an installer package for a preference pane SimplePref.prefPane so that it's installed to /Library/PreferencePanes with owner root and group admin. Assuming that a SimplePref.prefPane exists by itself in the stage subdirectory (which is located in the current directory) and fakeroot has already been installed, the following script will create SimplePref.pkg to install it:
#!/bin/sh pm=/Developer/usr/bin/packagemaker fakeroot sh -s <<FAKEROOT_SCRIPT chown -R root:admin stage/SimplePref.prefPane $pm --root stage --install-to /Library/PreferencePanes \ --id com.example.SimplePref --no-recommend --target 10.4 --out SimplePref.pkg FAKEROOT_SCRIPT
You can also clone the project with Git by running:
git clone git://github.com/mackyle/fakeroot
Pre-bootstrapped source tarballs (i.e. do not require autotools and have a pre-generated configure script) and Mac OS X installer packages are available for these tags:
Repository browsers are available at: