Mercurial > gub
changeset 5515:47634f7274fa
file: new bootstrap package.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 20 Aug 2009 22:43:07 +0200 |
parents | 243c4322d6db |
children | e6e55d2622c6 |
files | gub/cross.py gub/specs/file.py |
diffstat | 2 files changed, 19 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/cross.py Thu Aug 20 22:32:55 2009 +0200 +++ b/gub/cross.py Thu Aug 20 22:43:07 2009 +0200 @@ -81,10 +81,16 @@ def set_cross_dependencies (package_object_dict): global bootstrap_names if 'stat' in misc.librestrict (): - bootstrap_names += ['tools::coreutils', 'tools::bash', - 'tools::diff', 'tools::findutils', - 'tools::gawk', - 'tools::grep', 'tools::sed'] + bootstrap_names += [ + 'tools::bash', + 'tools::coreutils', + 'tools::diff', + 'tools::findutils', + 'tools::file', + 'tools::gawk', + 'tools::grep', + 'tools::sed', + ] if 'BOOTSTRAP' in os.environ.keys (): bootstrap_names += ['tools::gub-utils'] packs = list (package_object_dict.values ())
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gub/specs/file.py Thu Aug 20 22:43:07 2009 +0200 @@ -0,0 +1,9 @@ +from gub import tools +import os +if 'BOOTSTRAP' in os.environ.keys (): from gub import target as tools + +class File__tools (tools.AutoBuild): + source = 'ftp://ftp.astron.com/pub/file/file-5.03.tar.gz' + def configure_command (self): + return (tools.AutoBuild.configure_command (self) + + ''' LDFLAGS='-L%(system_prefix)s/lib %(rpath)s' ''')