From e788d280c43aad11d2735872d1a894daaa883e04 Mon Sep 17 00:00:00 2001 From: Antoine Catton <acatton@tiolive.com> Date: Mon, 9 Jan 2012 10:12:46 +0100 Subject: [PATCH] Add busybox component. --- component/busybox/buildout.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 component/busybox/buildout.cfg diff --git a/component/busybox/buildout.cfg b/component/busybox/buildout.cfg new file mode 100644 index 000000000..8145eea7d --- /dev/null +++ b/component/busybox/buildout.cfg @@ -0,0 +1,18 @@ +[buildout] + +parts = busybox + +[busybox] +recipe = slapos.recipe.build +url = http://busybox.net/downloads/busybox-1.19.3.tar.bz2 +md5sum = c3938e1ac59602387009bbf1dd1af7f6 +script = + extract_dir = self.extract(self.download(%(url)r, %(md5sum)r)) + workdir = guessworkdir(extract_dir) + self.logger.info("Creating default configuration") + call(['make', 'defconfig'], cwd=workdir, env=env) + self.logger.info("Building") + call(['make'], cwd=workdir, env=env) + self.logger.info("Installing") + call(['make', 'CONFIG_PREFIX=%(location)s', 'install'], cwd=workdir, env=env) + self.logger.info("Installation finished") -- 2.30.9