Xamarin Public Jenkins (auto-signing) 4730215017 Imported Upstream version 6.4.0.186
Former-commit-id: 710edcfe8c8328382163d2ff94143b3f789a6309
2019-08-30 08:39:49 +00:00

25 lines
794 B
Python

class LibTiffPackage (Package):
def __init__(self):
Package.__init__(self, 'tiff', '4.0.9',
configure_flags=[
],
sources=[
'http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz',
])
self.sources.extend([
'patches/tiff/patch-tiffconf.diff',
'patches/tiff/patch-tif_config.diff'
])
def build(self):
if Package.profile.name == 'darwin':
Package.configure(self)
for p in range(1, len(self.local_sources)):
self.sh('patch -p0 < "%{local_sources[' + str(p) + ']}"')
Package.make(self)
else:
Package.build(self)
LibTiffPackage()