1Howto build perl library 2 3perl Makefile.PL 4swig -perl5 -o g2_wrap.c -I../src -DDO_PS -DDO_GD ../src/g2.h 5"c:\Program Files\SWIG-1.3.13\swig" -perl5 -o g2_wrap.c -I../src -DDO_PS -DDO_GD -DDO_WIN32 ../src/g2.h 6nmake 7nmake install 8 9To make ActiveState PPD: 10 11tar cvf g2.tar blib 12gzip --best g2.tar 13nmake ppd 14copy tar.gz file into subdir x86 15You have to edit the resulting PPD file and add the location of the package archive into <CODEBASE HREF="x86/g2.tar.gz" />. The location is relative to the PPD file. 16To install do: 17ppm install g2.ppd 18 19