You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
26
external/bockbuild/packages/libtiff.py
vendored
Normal file
26
external/bockbuild/packages/libtiff.py
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
class LibTiffPackage (Package):
|
||||
|
||||
def __init__(self):
|
||||
Package.__init__(self, 'tiff', '4.0.3',
|
||||
configure_flags=[
|
||||
],
|
||||
sources=[
|
||||
'http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz',
|
||||
])
|
||||
|
||||
self.needs_lipo = True
|
||||
|
||||
if Package.profile.name == 'darwin':
|
||||
self.sources.extend([
|
||||
# Fix Snow Leopard build
|
||||
# http://jira.freeswitch.org/secure/attachment/17487/tiff-4.0.2-macosx-2.patch
|
||||
'patches/tiff-4.0.2-macosx-2.patch'
|
||||
])
|
||||
|
||||
def prep(self):
|
||||
Package.prep(self)
|
||||
if Package.profile.name == 'darwin':
|
||||
for p in range(1, len(self.local_sources)):
|
||||
self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')
|
||||
|
||||
LibTiffPackage()
|
||||
Reference in New Issue
Block a user