Long and winding road.
Download cmake source from www.cmake.org — Binary Package is only for Tiger right now. Configure (./bootstrap; make; sudo make install) and install
Download and configure mysql with
env MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" CXXFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch ppc -arch ppc64 -arch i386 -arch x86_64 -bind_at_load" ./configure --disable-dependency-tracking
make, make install
Download gammu. Edit gammu cmakelists.txt for os x. Edit common/cmakelists . Edit templates/gammu-config.h.cmake
mkdir build; cd build; cmake ..; give up in frustration after seeing this
ranlib: file: libGammu.a(bluez.o) has no symbols
ranlib: file: libGammu.a(blue_fbsd.o) has no symbols
ranlib: file: libGammu.a(blue_w32.o) has no symbols
ranlib: file: libGammu.a(blue_osx.o) has no symbols
ranlib: file: libGammu.a(ser_djg.o) has no symbols
ranlib: file: libGammu.a(ser_w32.o) has no symbols
ranlib: file: libGammu.a(irda.o) has no symbols
/usr/bin/ranlib libGammu.a
/usr/bin/ranlib: file: libGammu.a(bluez.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(blue_fbsd.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(blue_w32.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(blue_osx.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(ser_djg.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(ser_w32.o) has no symbols
/usr/bin/ranlib: file: libGammu.a(irda.o) has no symbols