anchor.diff:        longDescription = ''
           useful links: http://linux-ip.net/articles/Traffic-Control-HOWTO,
           http://blog.edseek.com/~jasonb/articles/traffic_shaping/
  +        tcng language: http://linux-ip.net/gl/tcng/node9.html tcng language
         '';
     };
   }
  
positive.code:     IPROUTESRC=$(echo iproute*)
      for script in $(find . -type f); do sed -e 's@#![ ]*/bin/bash@#! /bin/sh@' -i $script; done
      find . -type f | xargs sed -i 's@/usr/bin/perl@${perl}/bin/perl@g'
    '';
  
  
    # gentoo ebulid says tcsim doesn't compile with 2.6 headers..
    # DATADIR can stillb e overridden by env TOPDIR=...
    configurePhase=''
      cat >> config << EOF
      YACC="yacc"
      DATA_DIR="/tmp/tcng/where_is_this_used"
      EOF
      ./configure \
      --kernel ${kernel}/lib/modules/2.6.28.6-default/build \
  
negative.code:     make;
    '';
  
    # manually copy tcc and include files.. see comment above
    installPhase = ''
      ensureDir $out{,/sbin,/lib/tcng/include}
      make DESTDIR=$out install
      cp tcc/tcc $out/sbin
      cp tcc/*.tc $out/lib/tcng/include
    '';
  
    buildInputs =(with args; [bison flex db4 perl]);
  