6 recipe = hexagonit.recipe.download
7 url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-servers/boa/files/boa-0.94.14_rc21-ENOSYS.patch?revision=1.1
8 filename = boa-0.94.14_rc21-ENOSYS.patch
9 md5sum = 7206b342195961501ed1eae38486e5db
14 recipe = slapos.recipe.build
15 url = http://www.boa.org/boa-0.94.14rc21.tar.gz
16 md5sum = e24b570bd767a124fcfb40a34d148ba9
18 ${boa-patch-ENOSYS:location}/${boa-patch-ENOSYS:filename}
26 url = self.download(self.options['url'], self.options['md5sum'])
27 extract_dir = self.extract(url)
28 workdir = guessworkdir(extract_dir)
29 self.applyPatchList(self.options.get('patches'), '-p1', cwd=workdir)
30 call(['./configure'], cwd=workdir)
31 call(['make'], cwd=workdir)
32 # Installation of boa. Manually, no make install
33 os.makedirs('%(location)s/bin/')
34 shutil.copyfile(workdir + '/src/boa', '%(location)s/bin/boa')
35 os.chmod('%(location)s/bin/boa', 0755)
36 shutil.copyfile(workdir + '/src/boa_indexer', '%(location)s/bin/boa_indexer')
37 os.chmod('%(location)s/bin/boa_indexer', 0755)