Xamarin Public Jenkins (auto-signing) 966bba02bb Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
2017-06-07 13:16:24 +00:00

19 lines
496 B
Python

class LibJpegPackage (Package):
def __init__(self):
Package.__init__(
self,
'libjpeg',
'8',
sources=[
'http://www.ijg.org/files/jpegsrc.v8.tar.gz',
'patches/libjpeg8.patch'])
self.source_dir_name = 'jpeg-8'
def prep(self):
Package.prep(self)
for p in range(1, len(self.local_sources)):
self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')
LibJpegPackage()