changeset 5513:39245ab2923c

diff: New package.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 20 Aug 2009 22:30:07 +0200
parents 9784b7c6be0e
children 243c4322d6db
files gub/cross.py gub/specs/diff.py
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/cross.py	Thu Aug 20 22:23:57 2009 +0200
+++ b/gub/cross.py	Thu Aug 20 22:30:07 2009 +0200
@@ -81,7 +81,8 @@
 def set_cross_dependencies (package_object_dict):
     global bootstrap_names
     if 'stat' in misc.librestrict ():
-        bootstrap_names += ['tools::coreutils', 'tools::bash', 'tools::gawk',
+        bootstrap_names += ['tools::coreutils', 'tools::bash',
+                            'tools::diff', 'tools::gawk',
                             'tools::grep', 'tools::sed']
     if 'BOOTSTRAP' in os.environ.keys ():
         bootstrap_names += ['tools::gub-utils']
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gub/specs/diff.py	Thu Aug 20 22:30:07 2009 +0200
@@ -0,0 +1,7 @@
+from gub import tools
+
+class Diff__tools (tools.AutoBuild):
+    source = 'http://ftp.gnu.org/pub/gnu/diffutils/diffutils-2.8.1.tar.gz'
+    def wrap_executables (self):
+        # no dynamic executables [other than /lib:libc]
+        pass