Xamarin Public Jenkins (auto-signing) 6bdd276d05 Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
2017-04-10 11:41:01 +00:00

20 lines
633 B
Python

class LibXmlPackage (Package):
def __init__(self):
Package.__init__(self,
'libxml2',
'2.9.1',
configure_flags=['--with-python=no'],
sources=[
'ftp://xmlsoft.org/%{name}/%{name}-%{version}.tar.gz',
]
)
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) + ']}"')
LibXmlPackage()