pkg:setup ENV.append_to_cflags "-c -O2 -DNeedFunctionPrototypes=1" bin.mkpath lib.mkpath include.mkpath man1.mkpath man3.mkpath make lib/libgsm.1.0.13.dylib CC=${PKG_TARG}-clang CCFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} make all CC=${PKG_TARG}-clang CCFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} make DESTDIR=${PKG_DEST} install INSTALL_ROOT=${PKG_TAPF} GSM_INSTALL_INC=#{include} lib.install Dir["lib/*dylib"]