Merge branch 'shellinabox'
[slapos.git] / component / busybox / buildout.cfg
1 [buildout]
2
3 parts = busybox
4
5 [busybox]
6 recipe = slapos.recipe.build
7 url = http://busybox.net/downloads/busybox-1.19.3.tar.bz2
8 md5sum = c3938e1ac59602387009bbf1dd1af7f6
9 script =
10     extract_dir = self.extract(self.download(%(url)r, %(md5sum)r))
11     workdir = guessworkdir(extract_dir)
12     self.logger.info("Creating default configuration")
13     call(['make', 'defconfig'], cwd=workdir, env=env)
14     self.logger.info("Building")
15     call(['make'], cwd=workdir, env=env)
16     self.logger.info("Installing")
17     call(['make', 'CONFIG_PREFIX=%(location)s', 'install'], cwd=workdir, env=env)
18     self.logger.info("Installation finished")