talimat 324 B

1234567891011121314151617
  1. version=8.25
  2. source=(http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz)
  3. build()
  4. {
  5. cd coreutils-$version
  6. ./configure --prefix=/tools --enable-install-program=hostname
  7. make
  8. make install
  9. for i in cat echo pwd stty
  10. do
  11. ln -s /tools/bin/$i $LFS/bin/$i
  12. done
  13. mkdir -p $LFS/usr/bin
  14. ln -s /tools/bin/env $LFS/usr/bin/env
  15. }