1 class LibTiffPackage (Package):
4 Package.__init__(self, 'tiff', '4.0.3',
8 'http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz',
11 self.needs_lipo = True
13 if Package.profile.name == 'darwin':
15 # Fix Snow Leopard build
16 # http://jira.freeswitch.org/secure/attachment/17487/tiff-4.0.2-macosx-2.patch
17 'patches/tiff-4.0.2-macosx-2.patch'
22 if Package.profile.name == 'darwin':
23 for p in range(1, len(self.local_sources)):
24 self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')