Package: metapixel Version: 1.0.0 Revision: 2 Source: http://www.complang.tuwien.ac.at/~schani/%n/%n-%v.tar.gz #Patch: %n.patch Source-MD5: df8709bb890061c2bea4c65db4a1057c BuildDepends: libpng3, libjpeg Depends: libpng3-shlibs, libjpeg-shlibs SetCFLAGS: -I%p/include SetLDFLAGS: -L%p/lib PatchScript: << perl -pi -e 's,MACOS_LDOPTS = .*,MACOS_LDOPTS = \$(LDFLAGS),' Makefile perl -pi -e 's,MACOS_CCOPTS = .*,MACOS_CCOPTS = \$(CFLAGS),' Makefile perl -pi -e 's,PREFIX = .*,PREFIX = %p,' Makefile perl -pi -e 's,MANPAGE_XSL = /sw,MANPAGE_XSL = %p,' Makefile << CompileScript: << make strip %n << InstallScript: << mkdir -p %i/share/man/man1/ make install CC=cc BINDIR=%i/bin MANDIR=%i/share/man << Description: Photomosaic generator DescDetail: << Can generate classical photomosaics, in which the source image is viewed as a matrix of equally sized rectangles for each of which a matching image is substitued, as well as collage-style photomosaics, in which rectangular parts of the source image at arbitrary positions (i.e. not aligned to a matrix) are substituted by matching images. << DescUsage: << Read readme for instructions. Prepare script has problems on images with spaces and special characters in the name. << DocFiles: NEWS README COPYING License: GPL Maintainer: Ben Hines Homepage: http://www.complang.tuwien.ac.at/~schani/metapixel/