While it's currently possible to generate a standard executable installer for Pike by performing a "make bin_export", it's understandable that many people would like to have packages that are native to their particular OS. This document is intended to collect the bits and pieces of information that would make life easier for potential packagers.The appropriate location for storing packaging source files (RPM specs, Fink info files, and so forth) is in the "packaging" directory in CVS. Currently, there are directories for Debian, Fink and Windows.
MacOSXThis assumes that dependencies such as PCRE, Gmp and Nettle have been precompiled and assembled as universal binaries using the lipo command.
pike -m /path/to/your/master.pike
ABI=64 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk/" CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk/" make CONFIGUREARGS="--with-abi=64" make make bin_export
ABI=32 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk/" CFLAGS="-isysroot /Developer/SDKs/MacOSX10.6.sdk/" make CONFIGUREARGS="--with-abi=32" make make bin_export
Powered by PikeWiki2
|gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University|