Package: allegro4 Version: 4.4.1.1 Revision: 1 Description: Cross-platform game programming library DescDetail: << Allegro is a cross-platform game programming library for C/C++ developers distributed freely. It provides many functions for graphics, sounds, player input (keyboard, mouse and joystick) and timers. It also provides fixed and floating point mathematical functions, 3D functions, file management functions, compressed datafile and a GUI. << DescPort: << - Only builds 32-bit, since it needs QuickDraw (Carbon). - Disable command-line utilities showing up in the dock. << License: Public Domain Maintainer: Dave Vasilevsky Homepage: http://alleg.sourceforge.net/ ##### Architecture: powerpc, i386 BuildDepends: fink (>= 0.24.12), cmake, libpng14, libvorbis0, libogg Depends: %N-shlibs (= %v-%r) BuildDependsOnly: True ##### Source: mirror:sourceforge:alleg/allegro-%v.tar.gz Source-MD5: 0f1cfff8f2cf88e5c91a667d9fd386ec ##### UseMaxBuildJobs: true CompileScript: << cmake -DCMAKE_INSTALL_PREFIX=%p -DMANDIR=share/man -DINFODIR=share/info -DWANT_EXAMPLES=off . make << InstallScript: << #!/bin/sh -ev make -j1 install DESTDIR=%d # Fix doc dir mkdir -p %i/share/doc mv %i/doc/allegro* %i/share/doc/%n rm -r %i/doc # Fix install_name, we should be compatible with 4.2 v3=`echo %v | perl -pe 's/((\d+\.){2}\d+).*/$1/'` v2=`echo %v | perl -pe 's/((\d+\.){1}\d+).*/$1/'` mv %i/lib/liballeg.$v3.dylib %i/lib/liballeg-$v3.dylib rm %i/lib/liballeg.* ln -sfn liballeg-$v3.dylib %i/lib/liballeg-$v2.dylib ln -sfn liballeg-$v2.dylib %i/lib/liballeg-4.dylib ln -sfn liballeg-4.dylib %i/lib/liballeg.dylib install_name_tool -id %p/lib/liballeg-4.dylib %i/lib/liballeg-4.dylib for f in %i/bin/*; do if file $f | grep Mach-O; then install_name_tool -change liballeg.4.4.dylib %p/lib/liballeg-4.dylib $f fi done # Include fixbundle cp tools/fixbundle %i/bin/ << InfoDocs: allegro.info DocFiles: AUTHORS CHANGES THANKS readme.txt docs/txt/license.txt ##### SplitOff: << Package: %N-shlibs Replaces: %N (<< 4.2.0-beta3-1) Depends: libpng14-shlibs, libogg-shlibs Files: lib/liballeg-4*.dylib Shlibs: %p/lib/liballeg-4.dylib 4.4.0 %n (>= 4.4.1.1-1) 32 DocFiles: AUTHORS CHANGES THANKS readme.txt docs/txt/license.txt <<