(command.CommandList
  children: [
    (C {<export>} {<Id.Lit_VarLike 'THRIFT_VERSION='> <0.10.0>})
    (C {<wget>} 
      {<http> <Id.Lit_Colon ':'> <'//archive.apache.org/dist/thrift/'> (${ Id.VSub_Name THRIFT_VERSION) 
        <'/thrift-'> (${ Id.VSub_Name THRIFT_VERSION) <.tar.gz>
      }
    )
    (C {<tar>} {<xf>} {<thrift-> (${ Id.VSub_Name THRIFT_VERSION) <.tar.gz>})
    (C {<pushd>} {<thrift-> (${ Id.VSub_Name THRIFT_VERSION)})
    (C {<mkdir>} {<build-tmp>})
    (C {<pushd>} {<build-tmp>})
    (C {<cmake>} {<-DCMAKE_BUILD_TYPE> <Id.Lit_Equals '='> <release>} {(DQ <'-DCMAKE_CXX_FLAGS=-fPIC'>)} 
      {(DQ <'-DCMAKE_C_FLAGS=-fPIC'>)} {(DQ <'-DCMAKE_INSTALL_PREFIX=/usr'>)} {(DQ <'-DCMAKE_INSTALL_RPATH=/usr/lib'>)} 
      {(DQ <'-DBUILD_SHARED_LIBS=OFF'>)} {(DQ <'-DBUILD_TESTING=OFF'>)} {(DQ <'-DWITH_QT4=OFF'>)} {(DQ <'-DWITH_C_GLIB=OFF'>)} 
      {(DQ <'-DWITH_JAVA=OFF'>)} {(DQ <'-DWITH_PYTHON=OFF'>)} {(DQ <'-DWITH_CPP=ON'>)} {(DQ <'-DWITH_STATIC_LIB=ON'>)} {<..>}
    )
    (C {<make>} {<-j5>})
    (C {<make>} {<install>})
    (C {<popd>})
    (C {<popd>})
    (C {<rm>} {<-rf>} {<thrift-> (${ Id.VSub_Name THRIFT_VERSION) <.tar.gz>} 
      {<thrift-> (${ Id.VSub_Name THRIFT_VERSION)}
    )
  ]
)